Skip to main content
Version: testnet (v0.75)

Get withdrawal

GET 

/api/v2/withdrawal/:id

Get a withdrawal by its ID. A withdrawal's ID will be the SHA3-256 hash of the signature that the withdrawal was submitted with

Request

Path Parameters

    id stringrequired

    Withdrawal ID to retrieve data for.

Responses

A successful response.

Schema
    withdrawal object

    Withdrawal matching the ID from the request.

    amount string

    Amount to be withdrawn. This field is an unsigned integer scaled to the asset's decimal places.

    asset string

    Asset to withdraw funds from.

    createdTimestamp int64

    Timestamp for when the network started to process this withdrawal.

    ext object

    Foreign chain specifics.

    erc20 object

    ERC20 withdrawal details.

    receiverAddress string

    Address into which the bridge will release the funds.

    id string

    Unique ID for the withdrawal.

    partyId string

    Unique party ID of the user initiating the withdrawal.

    ref string

    Reference which is used by the foreign chain to refer to this withdrawal.

    status Status of the withdrawal

    Possible values: [STATUS_UNSPECIFIED, STATUS_OPEN, STATUS_REJECTED, STATUS_FINALIZED]

    Default value: STATUS_UNSPECIFIED

    Status of the withdrawal.

    txHash string

    Hash of the foreign chain for this transaction.

    withdrawnTimestamp int64

    Timestamp for when the withdrawal was finalised by the network.

Loading...