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

Get deposit

GET 

/api/v2/deposit/:id

Get a deposit by its ID

Request

Path Parameters

    id stringrequired

    Deposit ID to return data for.

Responses

A successful response.

Schema
    deposit object

    Deposit matching the ID from the request.

    amount string

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

    asset string

    Vega asset targeted by this deposit.

    createdTimestamp int64

    Timestamp for when the deposit was created on the Vega network.

    creditedTimestamp int64

    Timestamp for when the Vega account was updated with the deposit.

    id string

    Unique ID for the deposit.

    partyId string

    Party ID of the user initiating the deposit.

    status Status of the deposit

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

    Default value: STATUS_UNSPECIFIED

    Status of the deposit.

    txHash string

    Hash of the transaction from the foreign chain.

Loading...