Example code for the /account/transfers/outgoing rest method. Сomplete guide on how to use /account/transfers/outgoing rest in GetBlock.io Web3 documentation.
Parameters
address -
The address of the account.
hash -
The 256 bit sha3 hash of the transaction up to which transactions are returned.
The parameter is optional. When it's not present, the request will return newest transactions according to the above criteria. When hash is supplied as second parameter, the request will return up to 25 transactions that appeared directly before the transaction that has the supplied hash sorted according to the above criteria.
id -
The transaction id up to which transactions are returned. The parameter is optional. When an id is supplied as third parameter, the request will return up to 25 transactions that appeared directly before the transaction that has the supplied id sorted according to the above criteria.
Request
curl --location --request GET 'https://xem.getblock.io/account/transfers/outgoing?address=NCXIQA4FF5JB6AMQ53NQ3ZMRD3X3PJEWDJJJIGHT&id=10919973'--header 'x-api-key:YOUR-API-KEY'--header 'Content-Type: application/json'