Jump to
Ctrl
+
/

List Tokens Forwarding Automations

GET
/blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations

Through this endpoint customers can list all of their tokens forwarding automations (not coins).

Customers can set up automatic forwarding functions for tokens by setting a fromAddress and a toAddress, and specifying the amount that can be transferred between addresses.

A feePriority will be returned which represents the fee priority of the automation whether it is "SLOW", "STANDARD" OR "FAST".

Currently we support fungible tokens (ERC-20) only, NFTs (ERC-721) are not supported.
The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.

Path Parameters

blockchain string Required

Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

network string Required

Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "sepolia" are test networks.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

limit integer Optional

Defines how many items should be returned in the response per page basis.

Default : 50
offset integer Optional

The starting index of the response items, i.e. where the response should start listing the returned items.

Default : 0

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2023-04-25
requestId string Required

Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
limit integer Required

Defines how many items should be returned in the response per page basis.

50
offset integer Required

The starting index of the response items, i.e. where the response should start listing the returned items.

0
total integer Required

Defines the total number of items returned in the response.

100
items array Items (object) Required
callbackUrl string Required

Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. We support ONLY httpS type of protocol.

https://example.com
confirmationsCount integer Optional

Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block.

2
createdTimestamp integer Required

Defines the specific time/date when the automatic forwarding was created in Unix Timestamp.

1611238648
feeAddress string Required

Represents the specific fee address, which is always automatically generated. Users must fund it.

mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ
feePriority string Required

Represents the fee priority of the automation, whether it is "SLOW", "STANDARD" or "FAST".

standard
fromAddress string Required

Represents the hash of the address that forwards the tokens.

ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB
minimumTransferAmount string Required

Represents the minimum transfer amount of the tokens in the fromAddress that can be allowed for an automatic forwarding.

0.5
referenceId string Required

Represents a unique ID used to reference the specific callback subscription.

6038ad04c22fba4680361105
toAddress string Required

Represents the hash of the address the tokens are forwarded to.

tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6
tokenData Required

Credits Cost : 100 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "callbackUrl": "https://example.com",
                "confirmationsCount": 2,
                "createdTimestamp": 1611238648,
                "feeAddress": "mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ",
                "feePriority": "standard",
                "fromAddress": "ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB",
                "minimumTransferAmount": "0.5",
                "referenceId": "6038ad04c22fba4680361105",
                "toAddress": "tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6",
                "tokenData": ""
            }
        ]
    }
}