/deliveries/:id
GET
/deliveries/:id
The /deliveries/:id
endpoint returns details of a given delivery Id.
Headers
x-api-key
Your API key
Path Variables
:id
Yes
The delivery Id you are querying.
Params
None
Response Body
The response provides an object with details about the delivery. Some properties of this object are provided for all deliveries, for example status
, whereas others are dependant on the type of delivery made.
The objects can have the following properties:
_id
string
The unique Id for this transfer
status
string
The status of the operations. Possible values: - pending - failed - succeeded
source
string
The origin of the operation request.
sourceChain
string
The origin chain for the request, will be 0 if request originated off-chain.
sourceContract
string
The origin contract for the request, will be the zero address if request originated off-chain.
destinationChain
number
The chain Id of the chain this operation will run on
destinationContract
string
The contract address destination for this operation (i.e. the endpoint).
sourceKey
string
bytes32 hash of the submitting API key.
callData
string
The calldata to execute on-chain.
opAccount
string
The abstract account executing the operation.
opTarget
string
The target contract of the operation.
opCalldata
string
The hex calldata that will be executed.
opHash
string
Hash of the hex calldata.
processed
boolean
If the operation has been processed.
timestamp
string
Time of execution.
deliveryHash
string
Unique hash of delivery elements.
decodedError
object
Decoded information from error logs, if any.
error
boolean
Will be true if an error has occured.
errorDetails
object
Full dump of the error details logged.
Example Request
Response
Last updated