The Palisade API enables programmatic interaction with the various features of the Palisade platform
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/
https://api.sandbox.palisade.co/
https://api.palisade.co/
Hex encoded string representing domain that owns this account in ASCII, less than 256 chars. Set empty to unset.
Hex encoded 128-bit hash bytes of the email address representing this account. Set empty to unset.
33-byte public key for sending encrypted messages to this account. First byte must be one of (0x02, 0x03, 0xED). Set empty to unset.
Address of another account that can mint NFTokens for this account
Fee to charge when users transfer tokens issued by this account, represented as billionths of a unit between 1000000000 and 2000000000 or 0.
Tick size to use for offers involving a currency issued by this address, must be 3 to 15 (inclusive) or 0
An arbitrary 256-bit hash value to associate with this account
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/account-set
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/account-set
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/account-set
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/account-set' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"setFlag": "ACCOUNT_TXN_ID",
"clearFlag": "ACCOUNT_TXN_ID",
"domain": "6578616d706c652e636f6d",
"emailHash": "7e0ded033511a87ad8d04d5dfae1fcad",
"messageKey": "032CC3AFAD020F8E69DFEC08A45D303CE9E1693EB89DE0E268ADB6D7E93F19B7DF",
"nfTokenMinter": "rGgKM3hTn8MBMGgiiPMbz73VEkSBocqab6",
"transferRate": 1800000000,
"tickSize": 4,
"walletLocator": "678e749011f8a911f011e105c618db898a71f8759929cc9a9ebcfe7b125870ee",
"walletSize": 3,
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
The fee to charge for trades against this AMM instance, in units of 1/100,000
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-create
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-create
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-create
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-create' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"amount": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"amount2": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"tradingFee": 1000,
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
Submit a vote for the AMM's trading fee, in units of 1/100,000
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-deposit
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-deposit
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-deposit
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-deposit' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"asset": {
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"amount": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"asset2": {
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"amount2": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"ePrice": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"lpTokenOut": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"tradingFee": 1000,
"flags": "DEPOSIT_LP_TOKEN",
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-withdraw
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-withdraw
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-withdraw
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/amm-withdraw' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"asset": {
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"amount": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"asset2": {
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"amount2": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"ePrice": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"lpTokenIn": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"flags": "WITHDRAW_LP_TOKEN",
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/clawback
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/clawback
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/clawback
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/clawback' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"amount": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"holder": "rGgKM3hTn8MBMGgiiPMbz73VEkSBocqab6",
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-cancel
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-cancel
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-cancel
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-cancel' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"offerSequence": "2",
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
Unix timestamp after which this offer is no longer active
Sequence of offer to delete first, specified in the same way as OfferCancel
Configuration flags
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-create
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-create
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-create
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/offer-create' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"expiration": "1885634315",
"offerSequence": "2",
"takerGets": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"takerPays": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"flags": [
"PASSIVE"
],
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
Minimum sum of weights required in order to authorise a transaction. Sum of all weights of individual signers must be greater than or equal to this value.
List of signers. Leave empty with signerQuorum set to 0 to disable.
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/signer-list-set
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/signer-list-set
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/signer-list-set
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/signer-list-set' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"signerQuorum": 3,
"signerEntries": [
{
"account": "rGgKM3hTn8MBMGgiiPMbz73VEkSBocqab6",
"signerWeight": 2
}
],
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }
Value incoming balances on this trust line at the ratio of this number per 1,000,000,000 units. A value of 0 is shorthand for treating balances at face value.
Value outgoing balances on this trust line at the ratio of this number per 1,000,000,000 units. A value of 0 is shorthand for treating balances at face value.
Configuration flags
Highest ledger index this transaction can appear in.
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/trust-set
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/trust-set
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/trust-set
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/transactions/xrp/trust-set' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"limitAmount": {
"value": "155.672",
"asset": "USD",
"issuer": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"qualityIn": 0,
"qualityOut": 0,
"flags": [
"SETF_AUTH"
],
"sequence": "2",
"lastLedgerSequence": "123456",
"sourceTag": "123456"
}'The transaction ID
The ID of the user that created the transaction
The date and time the transaction was created
The date and time the transaction was updated
External ID of this transaction, unique to the organization
The correlation ID of the transaction, used to link related transactions
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
The destination address
Either addressID or walletID, or allowAddressID, or not set when the address does not exist within palisade e.g. a deposit from outside of Palisade
The maximum network fee to pay for this transaction in base asset units (eg ETH for Ethereum)
The encoded transaction. Maximum size is 200KB.
Whether to only sign the transaction, or also publish it to the blockchain
The actual network fee for this transaction in base asset units (eg ETH for Ethereum)
The transaction hash
The transaction signing hash
The transaction signature
The canonical transaction signature
The signed transaction (multi-sign is not supported). Maximum size is 200KB.
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "attributes": { "property1": "string", "property2": "string" }, "status": "REQUESTED", "action": "DEPOSIT", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "feeAsset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "blockchain": "AVALANCHE", "destinationAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "destination": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "origin": { "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "counterpartyId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "type": "COUNTERPARTY", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4" }, "qty": "155.672", "feeQtyLimit": "155.672", "sequence": "2", "encodedTransaction": "ed408505d21dba00825208942352d20fc81225c8ecd8f6faa1b37f24fed450c98089736f6d657468696e67808080", "signOnly": "true", "config": { "sourceTag": "123456", "destinationTag": "123456" }, "freezeInfo": { "isFrozen": false, "history": [ … ] }, "feeQty": "155.672", "hash": "0x30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signingHash": "30674cddb3025f9681839c63d20357f54e914bd7a9ddfe53a6691f4a530a5671", "signature": "3046022100c60dc1337d69261e7c7e92e4dac78e0c317d444d4690be2b86cc53b1989d1b0602210090c63e3a5cf692c9387292451fada038a0e4d85a2f5c91ee1e7a635df0440b43", "transactionType": "Payment", "reasons": [ "unfunded" ], "canonicalSignature": "3045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE", "signedTransaction": "12000024002A8F37201B002A8F5561400000000098968068400000000000000A732103E0C61B861ADE7AC58D27D65ABCEF4C22FA874DD13D809E02A99609A8CA31892C74473045022100C60DC1337D69261E7C7E92E4DAC78E0C317D444D4690BE2B86CC53B1989D1B0602206F39C1C5A3096D36C78D6DBAE0525FC619CA048C7FEC0E4DA157FB2EDFF235FE8114EC8E7F9FF5C9B157D55890956376D15740FAE943831451FE87A95FA6CAC3EBEF33387DE8225F7D0352CB", "proposedAssetChanges": [ { … } ], "confirmedAssetChanges": [ { … } ], "signingPayloads": [ { … } ] }