Contracts

Add an asset to a whitelisted contract

Adds an asset to a whitelisted contract. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

post/contracts/{contractId}/{assetId}

Request

Path parameters

contractIdstring required

The ID of the contract

assetIdstring required

The ID of the asset to add

Headers

Idempotency-Keystring

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Request body

addressstring required

The contract's address (or xpub) of the wallet

tagstring

The destination tag, for XRP wallets

Response

A Wallet Asset object

idstring
status'WAITING_FOR_APPROVAL' | 'APPROVED' | 'CANCELLED' | 'REJECTED' | 'FAILED'
addressstring
balancenumber
lockedAmountnumber
tagstring
activationTimestring

Changes

No recorded changes to this operation across all 1 revision of this API.