Download OpenAPI specification:Download
These endpoints allow you to get information about users in your Fordefi organization.
There are several types of users in the Fordefi platform:
Users can have one of three possible roles, which define the permissions that the user is given:
The Users API is currently read-only. To add/remove users, visit the Fordefi web console.
Get a list of users in the organization.
sort_by | Array of strings (Sort By) Items Enum: "role_asc" "role_desc" "email_asc" "email_desc" "created_asc" "created_desc" "name_asc" "name_desc" "last_keep_alive_asc" "last_keep_alive_desc" "state_asc" "state_desc" "type_asc" "type_desc" |
page | integer (Page) Default: 1 |
size | integer (Size) [ 0 .. 400 ] Default: 50 The number of items per page. |
types | Array of strings (Types) Items Enum: "person" "api_signer" "api_user" "system" The types of the users to filter on. |
roles | Array of strings (Roles) Items Enum: "admin" "trader" "viewer" The roles of the users to filter on. |
states | Array of strings (States) Items Enum: "active" "onboarding" "pending_approval" "deleted" The states of the users to filter on. Is one of:
|
include_deleted | boolean (Include Deleted) Default: false
|
names | Array of strings (Names) The names of the users. |
emails | Array of strings (Emails) The emails of the users. |
user_ids | Array of strings <uuid> (User Ids) The unique identifiers of the users. |
external_ids | Array of strings (External Ids) The IDs that you assign to the end user. |
group_ids | Array of strings <uuid> (Group Ids) The unique identifiers of the user groups. |
group_ids__not | Array of strings <uuid> (Group Ids Not) The unique identifiers of the user groups to exclude. |
states_on_groups | Array of strings (States On Groups) Items Enum: "active" "pending_addition" "pending_removal" The states of the user groups to filter group_ids on. Is one of:
|
{- "total": 0,
- "page": 0,
- "size": 0,
- "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "is_new_device_provisioning": true,
- "welcome_message_acknowledged_at": "2019-08-24T14:15:22Z",
- "role": "admin",
- "user_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "users_count": 0,
- "admins_count": 0,
- "state": "active"
}
], - "pending_addition_to_user_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "users_count": 0,
- "admins_count": 0,
- "state": "active"
}
], - "pending_removal_from_user_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "users_count": 0,
- "admins_count": 0,
- "state": "active"
}
], - "pending_change": {
- "new_role": "admin",
- "change_request_id": "f90819c3-6f40-44d9-9518-d77c485c0c12"
}, - "device_backup_info": {
- "device_backup_info": {
- "validation_hash": "SGVsbG8=",
- "type": "cloud",
- "cloud_type": "google_drive",
- "account": "string",
- "pin_code": "string"
}, - "backup_created_at": "2019-08-24T14:15:22Z",
- "backup_last_verified_at": "2019-08-24T14:15:22Z"
}
}
]
}
Gets the user that corresponds to the given ID.
id required | string <uuid> (Id) ID of the user to retrieve. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "user_type": "api_signer",
- "name": "John Doe",
- "state": "active",
- "last_keep_alive_at": "2019-08-24T14:15:22Z"
}
These endpoints allow you to manage end-user authorization tokens used for Fordefi's WaaS solution.
Authorization tokens allow end users to authenticate with Fordefi. Each end user can have a maximum of ten active authorization tokens at any time.
More information on authenticating end users is provided in the WaaS developer guide.
Get a list of supported blockchains.
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
chain_types | Array of strings (Chain Types) Items Enum: "aptos" "cosmos" "evm" "exchange" "solana" "stacks" "starknet" "sui" "ton" "tron" "utxo" |
sources | Array of strings (Sources) Items Enum: "default" "custom" The source of the chain. Can be:
|
only_interacted_with | boolean (Only Interacted With) Default: false Filter and display only chains the organization have outgoing or incoming transactions. |
include_mainnets | boolean (Include Mainnets) Default: true |
include_testnets | boolean (Include Testnets) Default: true |
include_exchanges | boolean (Include Exchanges) Default: false |
show_all | boolean (Show All) Default: false Include all chains in the response. |
{- "total": 0,
- "page": 0,
- "size": 0,
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
]
}
Get the suggested fees in a specific network.
chains | Array of strings (Chains) |
chain_types | Array of strings (Chain Types) Items Enum: "aptos" "cosmos" "evm" "exchange" "solana" "stacks" "starknet" "sui" "ton" "tron" "utxo" |
{- "suggested_fees": {
- "property1": {
- "type": "aptos",
- "low": "1000000000000000000",
- "medium": "1000000000000000000",
- "high": "1000000000000000000",
- "chain_unique_id": "aptos_mainnet"
}, - "property2": {
- "type": "aptos",
- "low": "1000000000000000000",
- "medium": "1000000000000000000",
- "high": "1000000000000000000",
- "chain_unique_id": "aptos_mainnet"
}
}
}
These endpoints allow you to manually trigger your pre-configured webhooks.
Use Webhooks describes how to configure webhooks, validate them, and resend them.
Test a webhook.
url required | string <uri> (Url) [ 1 .. 2083 ] characters The URL of the webhook endpoint. |
{
}
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string",
- "error_type": "http_error"
}
{- "webhook_id": "a47606a1-5b39-4a81-9480-c2cb738ff675",
- "created_at": "2019-08-24T14:15:22Z",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "attempt": 1,
- "sent_at": "2019-08-24T14:15:22Z",
- "event": {
- "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "is_managed_transaction": true,
- "direction": "outgoing",
- "note": "string",
- "spam_state": "unset",
- "state": "waiting_for_approval",
- "type": "aptos_message",
- "aptos_message_type": "personal_message_type",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
}, - "event_type": "transaction_state_update"
}
Trigger transaction create and latest state via webhooks.
id required | string <uuid> (Id) ID of the transaction to send events for. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
These endpoints allow you to list the contacts in your address book.
To add/remove contacts, visit the Fordefi web console. See the user guide for more info.
Get a list of all contacts in an organization.
sort_by | Array of strings (Sort By) Items Enum: "created_at_asc" "created_at_desc" "modified_at_asc" "modified_at_desc" "name_asc" "name_desc" |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
contact_ids | Array of strings <uuid> (Contact Ids) The contact IDs to filter by. |
names | Array of strings (Names) The names to filter by. |
states | Array of strings (States) Items Enum: "pending" "active" "deleted" The states to filter by. |
chain_types | Array of strings (Chain Types) Items Enum: "aptos" "cosmos" "evm" "exchange" "solana" "stacks" "starknet" "sui" "ton" "tron" "utxo" The chain types to filter by. |
chains | Array of strings (Chains) The chain unique ids to filter by. |
asset_ids | Array of strings <uuid> (Asset Ids) List of asset identifiers to filter on. |
address_group_ids | Array of strings <uuid> (Address Group Ids) The address group IDs to filter by. |
exclude_address_group_ids | Array of strings <uuid> (Exclude Address Group Ids) List of address group IDs to exclude. |
{- "total": 0,
- "page": 0,
- "size": 0,
- "contacts": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "modified_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "state": "pending",
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "contacts_count": 0
}
], - "pending_changes": {
- "is_being_edited": true,
- "change_request_id": "f90819c3-6f40-44d9-9518-d77c485c0c12",
- "change_request_reason": "creation"
}, - "asset_infos": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}
], - "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
]
}
]
}
These endpoints allow you to manage transactions on the Fordefi platform.
A transaction represents an operation that can be one of the following:
Start the export process for filtered transactions
limit | integer (Limit) The amount of transactions to export, unlimited if not set. |
created_before | string <date-time> (Created Before) |
created_after | string <date-time> (Created After) |
modified_after | string <date-time> (Modified After) |
vault_ids | Array of strings <uuid> (Vault Ids) The filter applies both to transactions that have been signed by the vault and also to transactions that have interacted with the vault. |
chains | Array of strings (Chains) |
initiator_ids | Array of strings <uuid> (Initiator Ids) |
types | Array of strings (Types) Items Enum: "aptos_message" "aptos_transaction" "black_box_signature" "cosmos_message" "cosmos_transaction" "evm_message" "evm_transaction" "exchange_transaction" "solana_message" "solana_transaction" "stacks_transaction" "starknet_message" "starknet_transaction" "sui_message" "sui_transaction" "ton_message" "ton_transaction" "tron_transaction" "utxo_message" "utxo_transaction" |
sub_types | Array of strings (Sub Types) Items Enum: "transfer" "allowance" "cross_chain_bridge" "transaction" "contract_call" "contract_deployment" "message_signature" "allowance_signature" |
signer_types | Array of strings (Signer Types) Items Enum: "initiator" "api_signer" "end_user" "multiple_signers" |
transaction_ids | Array of strings <uuid> (Transaction Ids) |
end_user_ids | Array of strings <uuid> (End User Ids) |
asset_ids | Array of strings <uuid> (Asset Ids) |
direction | string (TransactionDirection) Enum: "outgoing" "incoming" |
transaction_hashes | Array of strings (Transaction Hashes) Transaction hashes to filter by. Will return transactions with any of the specified hashes. The format of the hash depends on the blockchain type. |
search | string (Search) String to search transactions by ID or hash. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creation_time": "2019-08-24T14:15:22Z",
- "type": "csv",
- "state": "created",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "user_id": "string",
- "resource_type": "user",
- "successful_items_count": 0,
- "failed_items_count": 0,
- "total_items_count": 0,
- "request_id": "string",
- "download_url": "string",
- "expiration_time": "2019-08-24T14:15:22Z"
}
Retrieve transaction details.
id required | string <uuid> (Id) ID of the transaction to retrieve. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "managed_transaction_data": {
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "aborted_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "device_signing_request": {
- "signers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "has_signed": true
}
]
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "signer_type": "initiator",
- "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "error_pushing_to_blockchain_message": "string",
- "original_error_pushing_to_blockchain_message": "string",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "idempotence_id": "20a3c79f-f547-44b3-bdfc-d8aea82ad496",
- "has_current_user_vault_permissions": true,
- "batch_data": {
- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "index_in_batch": 0,
- "batch_size": 0
}, - "push_mode": "auto",
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "sign_mode": "auto"
}, - "signatures": [
- {
- "data": "SGVsbG8=",
- "signed_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
}
], - "note": "string",
- "spam_state": "unset",
- "direction": "outgoing",
- "signed_externally": false,
- "state": "waiting_for_approval",
- "state_changes": [
- {
- "changed_at": "2019-08-24T14:15:22Z",
- "reason": "failed_to_verify_signature",
- "asset_prices": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
], - "prices": {
- "native_currency_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_prices": [ ]
}, - "previous_state": "waiting_for_approval",
- "new_state": "waiting_for_approval"
}
], - "type": "aptos_message",
- "aptos_message_type": "personal_message_type",
- "raw_original_message_to_sign": "SGVsbG8=",
- "string_original_message_to_sign": "string",
- "raw_full_message_to_sign": "SGVsbG8=",
- "string_full_message_to_sign": "string",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
}
Get a list of all transactions in an organization.
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
created_before | string <date-time> (Created Before) |
created_after | string <date-time> (Created After) |
modified_after | string <date-time> (Modified After) |
vault_ids | Array of strings <uuid> (Vault Ids) The filter applies both to transactions that have been signed by the vault and also to transactions that have interacted with the vault. |
chains | Array of strings (Chains) |
initiator_ids | Array of strings <uuid> (Initiator Ids) |
types | Array of strings (Types) Items Enum: "aptos_message" "aptos_transaction" "black_box_signature" "cosmos_message" "cosmos_transaction" "evm_message" "evm_transaction" "exchange_transaction" "solana_message" "solana_transaction" "stacks_transaction" "starknet_message" "starknet_transaction" "sui_message" "sui_transaction" "ton_message" "ton_transaction" "tron_transaction" "utxo_message" "utxo_transaction" |
sub_types | Array of strings (Sub Types) Items Enum: "transfer" "allowance" "cross_chain_bridge" "transaction" "contract_call" "contract_deployment" "message_signature" "allowance_signature" |
signer_types | Array of strings (Signer Types) Items Enum: "initiator" "api_signer" "end_user" "multiple_signers" |
transaction_ids | Array of strings <uuid> (Transaction Ids) |
end_user_ids | Array of strings <uuid> (End User Ids) |
asset_ids | Array of strings <uuid> (Asset Ids) |
direction | string (TransactionDirection) Enum: "outgoing" "incoming" |
transaction_hashes | Array of strings (Transaction Hashes) Transaction hashes to filter by. Will return transactions with any of the specified hashes. The format of the hash depends on the blockchain type. |
search | string (Search) String to search transactions by ID or hash. |
states | Array of strings (States) Items Enum: "pending" "finalized" "approved" "waiting_for_signing_trigger" "stuck" "completed" "completed_reverted" "error" State of the transaction. Can be one of:
|
is_hidden | boolean (Is Hidden) |
include_full_response | boolean (Include Full Response) Default: true |
batch_ids | Array of strings <uuid> (Batch Ids) |
include_blackbox | boolean (Include Blackbox) |
sort_by | Array of strings (Sort By) Items Enum: "created_at_asc" "created_at_desc" "modified_at_asc" "modified_at_desc" "type_asc" "type_desc" "chains_asc" "chains_desc" "initiators_asc" "initiators_desc" "state_asc" "state_desc" |
{- "total": 0,
- "page": 0,
- "size": 0,
- "transactions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "managed_transaction_data": {
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "aborted_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "device_signing_request": {
- "signers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "has_signed": true
}
]
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": null,
- "user_type": null,
- "name": null,
- "email": null,
- "state": null,
- "role": null
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "signer_type": "initiator",
- "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "error_pushing_to_blockchain_message": "string",
- "original_error_pushing_to_blockchain_message": "string",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "idempotence_id": "20a3c79f-f547-44b3-bdfc-d8aea82ad496",
- "has_current_user_vault_permissions": true,
- "batch_data": {
- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "index_in_batch": 0,
- "batch_size": 0
}, - "push_mode": "auto",
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "sign_mode": "auto"
}, - "signatures": [
- {
- "data": "SGVsbG8=",
- "signed_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
}
], - "note": "string",
- "spam_state": "unset",
- "direction": "outgoing",
- "signed_externally": false,
- "state": "waiting_for_approval",
- "state_changes": [
- {
- "changed_at": "2019-08-24T14:15:22Z",
- "reason": "failed_to_verify_signature",
- "asset_prices": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": null,
- "unique_id": null,
- "name": null,
- "native_currency_symbol": null,
- "native_currency_name": null,
- "blockchain_explorer": null,
- "logo_url": null,
- "is_testnet": null,
- "is_enabled": null,
- "base_denom": null,
- "bech32_prefix": null
}, - "type": "native",
- "coin": {
- "name": null,
- "symbol": null,
- "display": null,
- "description": null,
- "base_denom": null,
- "denom": null,
- "decimals": null,
- "logo_url": null,
- "explorer_url": null,
- "type": null
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": null,
- "chain": null
}, - "chain": {
- "chain_type": null,
- "unique_id": null,
- "name": null,
- "native_currency_symbol": null,
- "native_currency_name": null,
- "blockchain_explorer": null,
- "logo_url": null,
- "is_testnet": null,
- "is_enabled": null
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
], - "prices": {
- "native_currency_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_prices": [ ]
}, - "previous_state": "waiting_for_approval",
- "new_state": "waiting_for_approval"
}
], - "type": "aptos_message",
- "aptos_message_type": "personal_message_type",
- "raw_original_message_to_sign": "SGVsbG8=",
- "string_original_message_to_sign": "string",
- "raw_full_message_to_sign": "SGVsbG8=",
- "string_full_message_to_sign": "string",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
}
]
}
Create a new transaction.
x-signature | string (X-Signature) Example: SGVsbG8= Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. |
x-timestamp | integer (X-Timestamp) Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks. |
x-idempotence-id | string <uuid> (X-Idempotence-Id) Optional idempotence ID of a transaction. |
vault_id required | string <uuid> (Vault Id) The unique identifier of the vault. |
note | string (Note) An optional transaction note. |
signer_type | string (SignerType) Enum: "initiator" "api_signer" "end_user" "multiple_signers" |
sign_mode | string (SignMode) Enum: "auto" "triggered" |
object (DappInfo) | |
type required | string (Type) Aptos message type. aptos_message aptos_message aptos_transaction black_box_signature cosmos_message cosmos_transaction evm_message evm_transaction exchange_transaction solana_message solana_transaction stacks_transaction starknet_message starknet_transaction sui_message sui_transaction ton_message ton_transaction tron_transaction utxo_message utxo_transaction |
required | object (AptosPersonalMessageRequest) |
{- "vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
- "note": "string",
- "signer_type": "initiator",
- "sign_mode": "auto",
- "dapp_info": {
- "url": "string",
- "name": "string"
}, - "type": "aptos_message",
- "details": {
- "type": "personal_message_type",
- "should_include_address": true,
- "application": "string",
- "should_include_application": true,
- "chain": "aptos_mainnet",
- "should_include_chain": true,
- "message_to_sign": "SGVsbG8=",
- "nonce": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "managed_transaction_data": {
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "aborted_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "device_signing_request": {
- "signers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "has_signed": true
}
]
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "signer_type": "initiator",
- "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "error_pushing_to_blockchain_message": "string",
- "original_error_pushing_to_blockchain_message": "string",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "idempotence_id": "20a3c79f-f547-44b3-bdfc-d8aea82ad496",
- "has_current_user_vault_permissions": true,
- "batch_data": {
- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "index_in_batch": 0,
- "batch_size": 0
}, - "push_mode": "auto",
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "sign_mode": "auto"
}, - "signatures": [
- {
- "data": "SGVsbG8=",
- "signed_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
}
], - "note": "string",
- "spam_state": "unset",
- "direction": "outgoing",
- "signed_externally": false,
- "state": "waiting_for_approval",
- "state_changes": [
- {
- "changed_at": "2019-08-24T14:15:22Z",
- "reason": "failed_to_verify_signature",
- "asset_prices": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
], - "prices": {
- "native_currency_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_prices": [ ]
}, - "previous_state": "waiting_for_approval",
- "new_state": "waiting_for_approval"
}
], - "type": "aptos_message",
- "aptos_message_type": "personal_message_type",
- "raw_original_message_to_sign": "SGVsbG8=",
- "string_original_message_to_sign": "string",
- "raw_full_message_to_sign": "SGVsbG8=",
- "string_full_message_to_sign": "string",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
}
Create a new transaction and wait until transaction reaches given state.
x-signature | string (X-Signature) Example: SGVsbG8= Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. |
x-timestamp | integer (X-Timestamp) Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks. |
x-idempotence-id | string <uuid> (X-Idempotence-Id) Optional idempotence ID of a transaction. |
vault_id required | string <uuid> (Vault Id) The unique identifier of the vault. |
note | string (Note) An optional transaction note. |
signer_type | string (SignerType) Enum: "initiator" "api_signer" "end_user" "multiple_signers" |
sign_mode | string (SignMode) Enum: "auto" "triggered" |
object (DappInfo) | |
type required | string (Type) Aptos message type. aptos_message aptos_message aptos_transaction black_box_signature cosmos_message cosmos_transaction evm_message evm_transaction solana_message solana_transaction stacks_transaction starknet_message starknet_transaction sui_message sui_transaction ton_message ton_transaction tron_transaction utxo_message utxo_transaction |
required | object (AptosPersonalMessageRequest) |
timeout | integer (Timeout) [ 1 .. 50 ] Default: 10 The maximum time in seconds to wait for the transaction to reach the specified state. For states that require more than 50 seconds, using webhooks or polling is preferable. |
wait_for_state required | string (NonPushableTransactionState) Enum: "waiting_for_approval" "waiting_for_signing_trigger" "approved" "signed" "completed" "error_signing" "aborted" |
{- "vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
- "note": "string",
- "signer_type": "initiator",
- "sign_mode": "auto",
- "dapp_info": {
- "url": "string",
- "name": "string"
}, - "type": "aptos_message",
- "details": {
- "type": "personal_message_type",
- "should_include_address": true,
- "application": "string",
- "should_include_application": true,
- "chain": "aptos_mainnet",
- "should_include_chain": true,
- "message_to_sign": "SGVsbG8=",
- "nonce": "string"
}, - "timeout": 10,
- "wait_for_state": "waiting_for_approval"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "signatures": [
- "SGVsbG8="
], - "state": "waiting_for_approval",
- "has_timed_out": true
}
Approve a transaction.
A transaction awaits approval when the caller API user has been specified as a
potential approver in the policy and the transaction
is in the waiting_for_approval
state.
id required | string <uuid> (Id) ID of the transaction to approve. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string",
- "error_type": "invalid_transaction_state"
}
Abort a transaction.
Abort is possible only for a transaction that is in one of the following states:
The aborting user must be one of the following:
API users can abort only the transactions they created.
id required | string <uuid> (Id) ID of the transaction to abort. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string",
- "error_type": "invalid_transaction_state"
}
Release a transaction.
id required | string <uuid> (Id) ID of the transaction to release. |
x-signature | string (X-Signature) Example: SGVsbG8= Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. |
x-timestamp | integer (X-Timestamp) Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks. |
type required | string (Type) The type of the transaction. evm_transaction evm_transaction |
release_type required | string (ReleaseType) Enum: "cancel" "accelerate" |
signer_type | string (SignerType) Enum: "initiator" "api_signer" "end_user" "multiple_signers" |
fail_on_prediction_failure | boolean (Fail On Prediction Failure) Default: true
|
note | string (Note) An optional transaction note. |
any Using the Custom Gas Request option, you specify
Note that the Legacy gas price setting is allowed on dynamic (EIP-1559) networks as well. You can get information on gas fees for different chains by examining the response to a call to List Chains. More information is provided in EVM chains and their fee mechanisms. |
{- "type": "evm_transaction",
- "release_type": "cancel",
- "signer_type": "initiator",
- "fail_on_prediction_failure": true,
- "note": "string",
- "gas": {
- "gas_limit": "1000000000000000000",
- "type": "custom",
- "details": {
- "type": "legacy",
- "price": "1000000000000000000"
}
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "managed_transaction_data": {
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "aborted_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "device_signing_request": {
- "signers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "has_signed": true
}
]
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "signer_type": "initiator",
- "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "error_pushing_to_blockchain_message": "string",
- "original_error_pushing_to_blockchain_message": "string",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "idempotence_id": "20a3c79f-f547-44b3-bdfc-d8aea82ad496",
- "has_current_user_vault_permissions": true,
- "batch_data": {
- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "index_in_batch": 0,
- "batch_size": 0
}, - "push_mode": "auto",
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "sign_mode": "auto"
}, - "signatures": [
- {
- "data": "SGVsbG8=",
- "signed_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
}
], - "note": "string",
- "spam_state": "unset",
- "direction": "outgoing",
- "signed_externally": false,
- "state": "waiting_for_approval",
- "state_changes": [
- {
- "changed_at": "2019-08-24T14:15:22Z",
- "reason": "failed_to_verify_signature",
- "asset_prices": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
], - "prices": {
- "native_currency_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_prices": [ ]
}, - "previous_state": "waiting_for_approval",
- "new_state": "waiting_for_approval"
}
], - "type": "aptos_message",
- "aptos_message_type": "personal_message_type",
- "raw_original_message_to_sign": "SGVsbG8=",
- "string_original_message_to_sign": "string",
- "raw_full_message_to_sign": "SGVsbG8=",
- "string_full_message_to_sign": "string",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
}
Simulate the transaction and changes in token balances, in addition to the fee estimation.
vault_id required | string <uuid> (Vault Id) The unique identifier of the vault. |
note | string (Note) An optional transaction note. |
type required | string (Type) Aptos message type. aptos_message aptos_message aptos_transaction cosmos_message cosmos_transaction evm_message evm_transaction exchange_transaction solana_message solana_transaction stacks_transaction starknet_message starknet_transaction sui_message sui_transaction ton_message ton_transaction tron_transaction utxo_message utxo_transaction |
required | object (AptosPersonalMessageRequest) |
{- "vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
- "note": "string",
- "type": "aptos_message",
- "details": {
- "type": "personal_message_type",
- "should_include_address": true,
- "application": "string",
- "should_include_application": true,
- "chain": "aptos_mainnet",
- "should_include_chain": true,
- "message_to_sign": "SGVsbG8=",
- "nonce": "string"
}
}
{- "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "note": "string",
- "type": "aptos_message",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}, - "aptos_message_type": "personal_message_type",
- "message_to_display": "string"
}
Push an existing signed transaction to the chain. The transaction must
have been previously created with a push_mode: manual
flag and must now
be in state signed
.
id required | string <uuid> (Id) ID of the transaction to be pushed to chain. |
object (CosmosPushData) |
{- "push_data": {
- "type": "cosmos_transaction",
- "transaction_body": "SGVsbG8="
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "managed_transaction_data": {
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "aborted_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "device_signing_request": {
- "signers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "has_signed": true
}
]
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "signer_type": "initiator",
- "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "error_pushing_to_blockchain_message": "string",
- "original_error_pushing_to_blockchain_message": "string",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "idempotence_id": "20a3c79f-f547-44b3-bdfc-d8aea82ad496",
- "has_current_user_vault_permissions": true,
- "batch_data": {
- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "index_in_batch": 0,
- "batch_size": 0
}, - "push_mode": "auto",
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "sign_mode": "auto"
}, - "signatures": [
- {
- "data": "SGVsbG8=",
- "signed_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
}
], - "note": "string",
- "spam_state": "unset",
- "direction": "outgoing",
- "signed_externally": false,
- "state": "waiting_for_approval",
- "state_changes": [
- {
- "changed_at": "2019-08-24T14:15:22Z",
- "reason": "failed_to_verify_signature",
- "asset_prices": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
], - "prices": {
- "native_currency_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_prices": [ ]
}, - "previous_state": "waiting_for_approval",
- "new_state": "waiting_for_approval"
}
], - "type": "aptos_message",
- "aptos_message_type": "personal_message_type",
- "raw_original_message_to_sign": "SGVsbG8=",
- "string_original_message_to_sign": "string",
- "raw_full_message_to_sign": "SGVsbG8=",
- "string_full_message_to_sign": "string",
- "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
}
Update transaction's spam state.
id required | string <uuid> (Id) ID of the transaction to update spam state for. |
is_spam required | boolean (Is Spam) |
{- "is_spam": true
}
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
Trigger transaction signing.
id required | string <uuid> (Id) ID of the transaction to trigger. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
These endpoints allow you to manage batch transactions on the Fordefi platform.
Batch transactions are currently supported only on Solana, for the purpose
of supporting the signAllTransactions
flow used by certain Solana DApps.
Batch transactions undergo policy evaluation as a whole: the policy is
applied to a “virtual transaction” whose list of instructions is the union
of the instructions of the individual transactions in the batch, and whose balance
changes are the aggregation of balance changes of the individual transactions.
Create a batch of transactions.
Batch transactions are currently supported only on Solana.
x-signature | string (X-Signature) Example: SGVsbG8= Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. |
x-timestamp | integer (X-Timestamp) Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks. |
x-idempotence-id | string <uuid> (X-Idempotence-Id) Optional idempotence ID of a transaction. |
vault_id required | string <uuid> (Vault Id) The unique identifier of the vault. |
note | string (Note) An optional transaction note. |
signer_type | string (SignerType) Enum: "initiator" "api_signer" "end_user" "multiple_signers" |
sign_mode | string (SignMode) Enum: "auto" "triggered" |
object (DappInfo) | |
type required | string (Type) Solana transaction type. solana_transaction solana_transaction |
required | object (CreateBatchTransactionRequestDetails) |
{- "vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
- "note": "string",
- "signer_type": "initiator",
- "sign_mode": "auto",
- "dapp_info": {
- "url": "string",
- "name": "string"
}, - "type": "solana_transaction",
- "details": {
- "type": "solana_raw_transaction",
- "fail_on_prediction_failure": true,
- "push_mode": "auto",
- "fee": {
- "type": "custom",
- "priority_fee": "1000000000000000000"
}, - "skip_prediction": false,
- "chain": "solana_mainnet",
- "transactions": [
- {
- "version": "legacy",
- "instructions": [
- {
- "program_index": 0,
- "data": "SGVsbG8=",
- "account_indexes": [
- 0
]
}
], - "accounts": [
- {
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "writable": true,
- "signer": true,
- "ephemeral_key": "lnNyP8kFPEaVpvUo/SIlhdZlzhPU8r7yT/h0gG5ajzQ="
}
], - "address_table_lookups": [
- {
- "account_key": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "writable_indexes": [
- 0
], - "readonly_indexes": [
- 0
]
}
], - "signatures": [
- {
- "data": "SGVsbG8="
}
], - "recent_blockhash": "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZAMdL4VZHirAn"
}
]
}
}
{- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "transactions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "managed_transaction_data": {
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "aborted_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "device_signing_request": {
- "signers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "has_signed": true
}
]
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": null,
- "user_type": null,
- "name": null,
- "email": null,
- "state": null,
- "role": null
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "signer_type": "initiator",
- "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "error_pushing_to_blockchain_message": "string",
- "original_error_pushing_to_blockchain_message": "string",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "idempotence_id": "20a3c79f-f547-44b3-bdfc-d8aea82ad496",
- "has_current_user_vault_permissions": true,
- "batch_data": {
- "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20",
- "index_in_batch": 0,
- "batch_size": 0
}, - "push_mode": "auto",
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "sign_mode": "auto"
}, - "signatures": [
- {
- "data": "SGVsbG8=",
- "signed_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
}
], - "note": "string",
- "spam_state": "unset",
- "direction": "outgoing",
- "signed_externally": false,
- "state": "waiting_for_approval",
- "state_changes": [
- {
- "changed_at": "2019-08-24T14:15:22Z",
- "reason": "failed_to_verify_signature",
- "asset_prices": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": null,
- "unique_id": null,
- "name": null,
- "native_currency_symbol": null,
- "native_currency_name": null,
- "blockchain_explorer": null,
- "logo_url": null,
- "is_testnet": null,
- "is_enabled": null,
- "base_denom": null,
- "bech32_prefix": null
}, - "type": "native",
- "coin": {
- "name": null,
- "symbol": null,
- "display": null,
- "description": null,
- "base_denom": null,
- "denom": null,
- "decimals": null,
- "logo_url": null,
- "explorer_url": null,
- "type": null
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": null,
- "chain": null
}, - "chain": {
- "chain_type": null,
- "unique_id": null,
- "name": null,
- "native_currency_symbol": null,
- "native_currency_name": null,
- "blockchain_explorer": null,
- "logo_url": null,
- "is_testnet": null,
- "is_enabled": null
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
], - "prices": {
- "native_currency_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_prices": [ ]
}, - "previous_state": "waiting_for_approval",
- "new_state": "waiting_for_approval"
}
], - "aml_results": {
- "scan_status": "error",
- "error_message": "string",
- "scan_results": {
- "type": "chainalysis",
- "alerts": [
- {
- "category": {
- "id": 0,
- "name": "string"
}, - "risk_rating": "low",
- "exposure_type": "direct",
- "service": "string"
}
], - "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865"
}
}, - "type": "solana_transaction",
- "solana_transaction_type_details": {
- "type": "native_transfer",
- "direction": "outgoing",
- "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "recipient": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "is_internal": true
}, - "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "version": "legacy",
- "instructions": [
- {
- "program_index": 0,
- "data": "SGVsbG8=",
- "account_indexes": [
- 0
], - "program": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": null,
- "unique_id": null
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": null,
- "unique_id": null
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "base58_data": "string"
}
], - "accounts": [
- {
- "address": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": null,
- "unique_id": null
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": null,
- "unique_id": null
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "writable": true,
- "signer": true
}
], - "address_table_lookups": [
- {
- "account_key": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "writable_indexes": [
- 0
], - "readonly_indexes": [
- 0
], - "state": {
- "addresses": [
- {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}
], - "authority": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- null
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": null,
- "base58_repr": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "deactivation_slot": "1000000000000000000",
- "last_extended_slot": "1000000000000000000",
- "last_extended_slot_start_index": "1000000000000000000"
}
}
], - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "raw_transaction": "SGVsbG8=",
- "hash": "FAWA66fudpiwdRDDQ4DRxdJsRvawvauwg4vQkm98ZHFpXmW5N7xzRiTRpt8QiZ19s1aVbzKgXW6kEZanwHeDFNS",
- "recent_blockhash": "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZAMdL4VZHirAn",
- "block": {
- "slot": 0,
- "hash": "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZAMdL4VZHirAn",
- "mined_at": "2019-08-24T14:15:22Z"
}, - "expected_result": {
- "reversion": {
- "state": "not_reverted",
- "reason": "string"
}, - "transaction_error": "string",
- "fee": "1000000000000000000",
- "enriched_fee": {
- "priority_level": "custom",
- "base_fee": "1000000000000000000",
- "priority_fee": "1000000000000000000",
- "fee": "1000000000000000000",
- "fiat_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
}, - "effects": {
- "balance_changes": [
- {
- "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": null,
- "type": null,
- "coin": null
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": null,
- "details": null,
- "chain": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": null,
- "decimals": null
}
}
}, - "diff": "1000000000000000000",
- "type": "native",
- "address": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "owner": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": null,
- "base58_repr": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}
], - "transfers": [
- {
- "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": null,
- "type": null,
- "coin": null
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": null,
- "details": null,
- "chain": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": null,
- "decimals": null
}
}
}, - "amount": "1000000000000000000",
- "type": "native",
- "from": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "to": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": null,
- "base58_repr": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}
]
}, - "instruction_error": {
- "error_type": "string",
- "instruction_index": 0,
- "error_description": "string"
}
}, - "simulation_status_result": {
- "simulation_status": "success",
- "details": "string"
}, - "mined_result": {
- "reversion": {
- "state": "not_reverted",
- "reason": "string"
}, - "transaction_error": "string",
- "fee": "1000000000000000000",
- "enriched_fee": {
- "priority_level": "custom",
- "base_fee": "1000000000000000000",
- "priority_fee": "1000000000000000000",
- "fee": "1000000000000000000",
- "fiat_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
}, - "effects": {
- "balance_changes": [
- {
- "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": null,
- "type": null,
- "coin": null
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": null,
- "details": null,
- "chain": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": null,
- "decimals": null
}
}
}, - "diff": "1000000000000000000",
- "type": "native",
- "address": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "owner": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": null,
- "base58_repr": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}
], - "transfers": [
- {
- "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": null,
- "type": null,
- "coin": null
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": null,
- "details": null,
- "chain": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": null,
- "decimals": null
}
}
}, - "amount": "1000000000000000000",
- "type": "native",
- "from": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "to": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": null,
- "user_type": null,
- "external_id": null,
- "state": null
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": null,
- "address": null,
- "chains": [ ]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": null,
- "name": null,
- "url": null,
- "logo_url": null
}, - "is_verified": true,
- "token": {
- "type": null,
- "address": null,
- "name": null,
- "symbol": null,
- "decimals": null,
- "logo_url": null
}
}
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": null,
- "base58_repr": null
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}
]
}, - "instruction_error": {
- "error_type": "string",
- "instruction_index": 0,
- "error_description": "string"
}
}, - "was_fee_set_in_request": true
}
]
}
Simulate the batch of transactions and show changes in
token balances, in addition to the fee estimation
Batch transactions are currently supported only on Solana.
vault_id required | string <uuid> (Vault Id) The unique identifier of the vault. |
note | string (Note) An optional transaction note. |
type required | string (Type) The type of the transaction. solana_transaction solana_transaction |
required | any |
{- "vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
- "note": "string",
- "type": "solana_transaction",
- "details": {
- "type": "solana_raw_transaction",
- "fail_on_prediction_failure": true,
- "skip_simulation": false,
- "fee": {
- "type": "custom",
- "priority_fee": "1000000000000000000"
}, - "chain": "solana_mainnet",
- "transactions": [
- {
- "version": "legacy",
- "instructions": [
- {
- "program_index": 0,
- "data": "SGVsbG8=",
- "account_indexes": [
- 0
]
}
], - "accounts": [
- {
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "writable": true,
- "signer": true,
- "ephemeral_key": "lnNyP8kFPEaVpvUo/SIlhdZlzhPU8r7yT/h0gG5ajzQ="
}
], - "address_table_lookups": [
- {
- "account_key": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "writable_indexes": [
- 0
], - "readonly_indexes": [
- 0
]
}
], - "signatures": [
- {
- "data": "SGVsbG8="
}
], - "recent_blockhash": "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZAMdL4VZHirAn"
}
]
}
}
{- "policy_match": {
- "is_default": true,
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "action_type": "allow"
}, - "approval_request": {
- "state": "created",
- "quorum_size": 0,
- "approvers": [ ],
- "required_groups": 0,
- "approval_groups": [
- {
- "quorum_size": 0,
- "approvers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "modified_at": "2019-08-24T14:15:22Z",
- "decision": "pending",
- "state": "pending"
}
]
}
], - "error_message": "string"
}, - "risks": [
- {
- "type": "transfer_to_erc20_contract",
- "severity": "low",
- "title": "string",
- "description": "string"
}
], - "note": "string",
- "aml_results": {
- "scan_status": "error",
- "error_message": "string",
- "scan_results": {
- "type": "chainalysis",
- "alerts": [
- {
- "category": {
- "id": 0,
- "name": "string"
}, - "risk_rating": "low",
- "exposure_type": "direct",
- "service": "string"
}
], - "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865"
}
}, - "type": "solana_transaction",
- "expected_result": {
- "reversion": {
- "state": "not_reverted",
- "reason": "string"
}, - "transaction_error": "string",
- "fee": "1000000000000000000",
- "enriched_fee": {
- "priority_level": "custom",
- "base_fee": "1000000000000000000",
- "priority_fee": "1000000000000000000",
- "fee": "1000000000000000000",
- "fiat_price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
}, - "effects": {
- "balance_changes": [
- {
- "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}, - "diff": "1000000000000000000",
- "type": "native",
- "address": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": null,
- "unique_id": null
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": null,
- "unique_id": null
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "owner": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": null,
- "unique_id": null
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": null,
- "unique_id": null
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}
], - "transfers": [
- {
- "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
- "transaction_url": null,
- "address_url": null,
- "root_url": null,
- "transaction_format_url": null,
- "address_format_url": null,
- "asset_format_url": null
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}, - "amount": "1000000000000000000",
- "type": "native",
- "from": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": null,
- "unique_id": null
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": null,
- "unique_id": null
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "to": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": null,
- "unique_id": null
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": null,
- "unique_id": null
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "token_contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}
]
}, - "instruction_error": {
- "error_type": "string",
- "instruction_index": 0,
- "error_description": "string"
}
}, - "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}, - "simulation_status_result": {
- "simulation_status": "success",
- "details": "string"
}, - "solana_transaction_type_details": {
- "type": "native_transfer",
- "direction": "outgoing",
- "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "recipient": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "is_internal": true
}, - "sender": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "suggested_fees": {
- "type": "solana",
- "chain_unique_id": "solana_mainnet",
- "base_fee": "1000000000000000000",
- "low": "1000000000000000000",
- "medium": "1000000000000000000",
- "high": "1000000000000000000"
}, - "instructions": [
- {
- "program_index": 0,
- "data": "SGVsbG8=",
- "account_indexes": [
- 0
], - "program": {
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "contact": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address_ref": {
- "chain_type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a",
- "chains": [
- {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet"
}
]
}
}, - "type": "solana",
- "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
- "contract": {
- "name": "string",
- "dapp": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
}, - "is_verified": true,
- "token": {
- "type": "spl_token",
- "address": {
- "chain": {
- "chain_type": "solana",
- "unique_id": "solana_mainnet"
}, - "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
}
}
}, - "base58_data": "string"
}
], - "raw_transaction": "SGVsbG8=",
- "was_fee_set_in_request": true
}
Abort a batch of transactions.
batch_id required | string <uuid> (Batch Id) ID of the batch of transactions. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string",
- "error_type": "invalid_transaction_state"
}
Approve a batch of transactions.
batch_id required | string <uuid> (Batch Id) ID of the batch of transactions. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string",
- "error_type": "invalid_transaction_state"
}
These endpoints allow you to manage vaults.
A vault is the basic unit to manage funds.
Each vault supports a single "chain family", such as EVM, Bitcoin, Solana, Cosmos, etc.,
determined by the vault's type. A vault supports all the chains within the chain family
(e.g., an EVM vault supports all EVM chains).
Get a list of all vaults in an organization.
sort_by | Array of strings (Sort By) Items Enum: "created_at_asc" "created_at_desc" "name_asc" "name_desc" "vault_type_asc" "vault_type_desc" |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
vault_ids | Array of strings <uuid> (Vault Ids) Vault IDs to filter on. |
names | Array of strings (Names) List of full names to filter on. |
vault_types | Array of strings (Vault Types) Items Enum: "aptos" "black_box" "cosmos" "evm" "solana" "stacks" "starknet" "sui" "ton" "tron" "utxo" "exchange" Vault types to filter on. |
vault_states | Array of strings (Vault States) Items Enum: "active" "archived" Vault states to filter on. |
keyset_ids | Array of strings <uuid> (Keyset Ids) List of keyset IDs to filter on. |
key_holder_ids | Array of strings <uuid> (Key Holder Ids) List of key holder IDs to filter on. |
vault_group_ids | Array of strings <uuid> (Vault Group Ids) List of vault group IDs to filter on. Filter applies to current and pending vault groups. |
exclude_vault_group_ids | Array of strings <uuid> (Exclude Vault Group Ids) List of vault group IDs to exclude. |
origin_type | string (VaultOriginType) Enum: "native" "imported" Origin type to filter on. |
{- "total": 0,
- "page": 0,
- "size": 0,
- "vaults": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "name": "string",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "vault_group": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "vault_count": 0,
- "can_current_user_create_or_edit_vaults": true
}, - "pending_vault_group_action": {
- "type": "add",
- "vault_group_id": "948d8050-0dde-409f-985b-6d7b133fc9e8",
- "vault_group_name": "string"
}, - "state": "active",
- "derivation_path": "m/44/60/0/0/0",
- "public_key_compressed": "SGVsbG8=",
- "derivation_info": {
- "derivation_path": "m/44/60/0/0/0",
- "master_public_key": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string"
}
}, - "keyset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scope": "organization"
}, - "key_holder": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}, - "origin_type": "native",
- "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
]
}
Create a new vault.
name required | string (Name) non-empty The name of the vault. |
keyset_id | string <uuid> (Keyset Id) Deprecated |
end_user_id | string <uuid> (End User Id) The end user id to create a vault for.This field is required for end-user vault creation, otherwise, it's optional. If not provided, the organization's default keyset will be used. |
vault_group_id | string <uuid> (Vault Group Id) The group to add this vault to. If not provided, the vault will be created in the Default vault group. |
object (ImportVaultDefaultOptions) | |
type required | string (Type) Aptos vault type. aptos aptos black_box cosmos evm solana stacks starknet sui ton tron utxo |
{- "name": "string",
- "keyset_id": "0fd01f45-0fa7-45d1-9121-c431104386a5",
- "end_user_id": "c5ac076e-1e7a-4f0d-9ad4-cae618230def",
- "vault_group_id": "948d8050-0dde-409f-985b-6d7b133fc9e8",
- "import_vault": {
- "derivation_path": "m/44/60/0/0/0",
- "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5"
}, - "type": "aptos"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "name": "string",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "vault_group": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "vault_count": 0,
- "can_current_user_create_or_edit_vaults": true
}, - "pending_vault_group_action": {
- "type": "add",
- "vault_group_id": "948d8050-0dde-409f-985b-6d7b133fc9e8",
- "vault_group_name": "string"
}, - "state": "active",
- "derivation_path": "m/44/60/0/0/0",
- "public_key_compressed": "SGVsbG8=",
- "derivation_info": {
- "derivation_path": "m/44/60/0/0/0",
- "master_public_key": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string"
}
}, - "keyset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scope": "organization"
}, - "key_holder": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}, - "origin_type": "native",
- "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
Get a CSV-format list of balances of all vaults and their assets.
vaults_ids | Array of strings <uuid> (Vaults Ids) Vault IDs to filter on. |
vault_types | Array of strings (Vault Types) Items Enum: "aptos" "black_box" "cosmos" "evm" "solana" "stacks" "starknet" "sui" "ton" "tron" "utxo" "exchange" Vault types to filter on. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
Retrieve vault details.
id required | string <uuid> (Id) ID of the vault to retrieve. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "name": "string",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "vault_group": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "vault_count": 0,
- "can_current_user_create_or_edit_vaults": true
}, - "pending_vault_group_action": {
- "type": "add",
- "vault_group_id": "948d8050-0dde-409f-985b-6d7b133fc9e8",
- "vault_group_name": "string"
}, - "state": "active",
- "derivation_path": "m/44/60/0/0/0",
- "public_key_compressed": "SGVsbG8=",
- "derivation_info": {
- "derivation_path": "m/44/60/0/0/0",
- "master_public_key": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string"
}
}, - "keyset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scope": "organization"
}, - "key_holder": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}, - "origin_type": "native",
- "type": "aptos",
- "address": "0x3300c18e7b931bdfc73dccf3e2d043ad1c9d120c777fff5aeeb9956224e5247a"
}
Get a specific asset in a vault.
id required | string <uuid> (Id) ID of the vault to retrieve. |
asset_id required | string <uuid> (Asset Id) ID of the asset to retrieve. |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
{- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "decimals": 0,
- "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "name": "string",
- "symbol": "string",
- "hidden": true,
- "verified": true,
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "metadata_uri": "string",
- "type": "cosmos_asset",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "cosmos_native_asset"
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}, - "balance": "1000000000000000000",
- "balances": {
- "mined": "1000000000000000000",
- "pending_incoming": "1000000000000000000"
}
}
Get a list of all assets in a vault.
id required | string <uuid> (Id) ID of the vault to retrieve. |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
chains | Array of strings (Chains) |
asset_ids | Array of strings <uuid> (Asset Ids) |
is_hidden | boolean (Is Hidden) |
search | string (Search) |
sort_by | Array of strings (Sort By) Items Enum: "asset_name_asc" "asset_name_desc" "chain_identifier_asc" "chain_identifier_desc" "balance_asc" "balance_desc" "market_value_asc" "market_value_desc" "price_asc" "price_desc" |
{- "total": 0,
- "page": 0,
- "size": 0,
- "owned_assets": [
- {
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "decimals": 0,
- "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "name": "string",
- "symbol": "string",
- "hidden": true,
- "verified": true,
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "metadata_uri": "string",
- "type": "cosmos_asset",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "cosmos_native_asset"
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}, - "balance": "1000000000000000000",
- "balances": {
- "mined": "1000000000000000000",
- "pending_incoming": "1000000000000000000"
}
}
]
}
Rename an existing vault.
id required | string <uuid> (Id) ID of the vault to rename. |
name required | string (Name) non-empty The new name for the vault. |
{- "name": "string"
}
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
Create a new address.
id required | string <uuid> (Id) ID of the vault to create address in. |
name | string (Name) non-empty The name of the address. |
address_type | string (BitcoinVaultCreateAddressType) Enum: "legacy" "segwit" "taproot" |
object (ImportVaultAddressOptions) |
{- "name": "string",
- "address_type": "legacy",
- "import_address": {
- "derivation_path": "m/44/60/0/0/0"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "name": "string",
- "balance": "1000000000000000000",
- "balances": {
- "mined": "1000000000000000000",
- "pending_incoming": "1000000000000000000"
}, - "public_key_compressed": "SGVsbG8=",
- "derivation_path": "m/44/60/0/0/0",
- "type": "utxo",
- "address": {
- "address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
- "address_type": "legacy",
- "chain": {
- "chain_type": "utxo",
- "unique_id": "bitcoin_mainnet"
}
}
}
Get a list of all addresses in a vault.
id required | string <uuid> (Id) ID of the vault. |
sort_by | Array of strings (Sort By) Items Enum: "created_at_asc" "created_at_desc" "name_asc" "name_desc" |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
search | string (Search) |
addresses | Array of strings (Addresses) List of addresses to filter on. |
address_types | Array of strings (Address Types) Items Enum: "legacy" "p2sh" "segwit" "taproot" List of address types to filter on. |
{- "total": 0,
- "page": 0,
- "size": 0,
- "addresses": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "vault": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "state": "active",
- "type": "aptos",
- "end_user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "end_user",
- "external_id": "user|1234",
- "state": "active"
}
}, - "name": "string",
- "balance": "1000000000000000000",
- "balances": {
- "mined": "1000000000000000000",
- "pending_incoming": "1000000000000000000"
}, - "public_key_compressed": "SGVsbG8=",
- "derivation_path": "m/44/60/0/0/0",
- "type": "utxo",
- "address": {
- "address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
- "address_type": "legacy",
- "chain": {
- "chain_type": "utxo",
- "unique_id": "bitcoin_mainnet"
}
}
}
]
}
Rename an existing vault address.
id required | string <uuid> (Id) ID of the vault address to rename. |
name required | string (Name) non-empty The new name for the vault. |
{- "name": "string"
}
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
These endpoints allow you to view your vault groups.
Vault Groups are used to collectively manage policies and view permissions for a group of vaults.
The API is read-only. To manage vault groups, visit the Fordefi web console. See more info in the
user guide.
Get a list of vault groups in the organization.
sort_by | Array of strings (Sort By) Items Enum: "created_at_asc" "created_at_desc" "name_asc" "name_desc" "vault_count_asc" "vault_count_desc" |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
vault_group_ids | Array of strings <uuid> (Vault Group Ids) Vault group IDs to filter on. |
search | string (Search) |
access_level | string (ListVaultGroupsFilterByAccessLevel) Enum: "view" "create_edit" "all" |
{- "total": 0,
- "page": 0,
- "size": 0,
- "vault_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "vault_count": 0,
- "permissions": {
- "access_permissions": {
- "access_type": "all"
}, - "can_non_admins_create_or_edit_vaults": true,
- "can_current_user_create_or_edit_vaults": true
}, - "owner": "system",
- "modified_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "pending_change_request": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "new_name": "string",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "created_at": "2019-08-24T14:15:22Z"
}, - "state": "pending_approval"
}
]
}
These endpoints allow you to get information about the assets in your organization,
including metadata, balances, and prices.
Fordefi supports native assets and fungible tokens on each of the supported blockchains,
and on many chains also non-fungible tokens.
Assets are chain-specific, meaning that USDC on Ethereum is different from USDC on Polygon.
Get a a specific asset owned by an organization.
id required | string <uuid> (Id) ID of the asset to retrieve. |
{- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "decimals": 0,
- "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "name": "string",
- "symbol": "string",
- "hidden": true,
- "verified": true,
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "metadata_uri": "string",
- "type": "cosmos_asset",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "cosmos_native_asset"
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}, - "balance": "1000000000000000000",
- "balances": {
- "mined": "1000000000000000000",
- "pending_incoming": "1000000000000000000"
}
}
Get a list of all assets owned by an organization.
chains | Array of strings (Chains) |
asset_ids | Array of strings <uuid> (Asset Ids) |
is_hidden | boolean (Is Hidden) |
search | string (Search) |
vault_ids | Array of strings <uuid> (Vault Ids) |
end_user_ids | Array of strings <uuid> (End User Ids) |
sort_by | Array of strings (Sort By) Items Enum: "asset_name_asc" "asset_name_desc" "chain_identifier_asc" "chain_identifier_desc" "balance_asc" "balance_desc" "market_value_asc" "market_value_desc" "price_asc" "price_desc" |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
{- "total": 0,
- "page": 0,
- "size": 0,
- "owned_assets": [
- {
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "decimals": 0,
- "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}, - "name": "string",
- "symbol": "string",
- "hidden": true,
- "verified": true,
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "metadata_uri": "string",
- "type": "cosmos_asset",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "cosmos_native_asset"
}
}, - "priced_asset": {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}, - "balance": "1000000000000000000",
- "balances": {
- "mined": "1000000000000000000",
- "pending_incoming": "1000000000000000000"
}
}
]
}
Update the asset's configuration under the entire organization.
required | any (AssetIdentifierRequest) |
hidden required | boolean (Hidden)
|
{- "asset": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}
}, - "hidden": true
}
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
Fetch the prices of assets.
required | Array of any (Asset Identifiers) non-empty The assets to price. |
{- "asset_identifiers": [
- {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}
}
]
}
{- "priced_assets": [
- {
- "type": "asset_price",
- "asset_identifier": {
- "type": "cosmos",
- "details": {
- "chain": {
- "chain_type": "cosmos",
- "unique_id": "cosmos_agoric-3",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true,
- "base_denom": "string",
- "bech32_prefix": "agoric"
}, - "type": "native",
- "coin": {
- "name": "string",
- "symbol": "string",
- "display": "",
- "description": "",
- "base_denom": "string",
- "denom": "string",
- "decimals": 0,
- "type": "native"
}
}
}, - "asset_info": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}, - "price": {
- "price": "1000000000000000000",
- "price_float": "1000000000000000000",
- "fiat_currency": {
- "currency_symbol": "usd",
- "decimals": 0
}
}
}
]
}
Create asset infos in the Fordefi platform.
required | any (AssetIdentifierRequest) |
{- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset_identifier": {
- "type": "aptos",
- "details": {
- "type": "native",
- "chain": "aptos_mainnet"
}, - "chain": {
- "chain_type": "aptos",
- "unique_id": "aptos_mainnet",
- "name": "string",
- "native_currency_symbol": "ETH",
- "native_currency_name": "Ether",
- "blockchain_explorer": {
}, - "is_testnet": true,
- "is_enabled": true
}
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "verified": true,
- "metadata_uri": "string",
- "is_spam": true,
}
These endpoints allow you to manage WaaS end-users.
End users correspond to users of the platform who has integrated the Fordefi WaaS solution.
For example, in the case of a retail platform, these would be the retail consumers of the platform.
Get a list of end users in the organization.
sort_by | Array of strings (Sort By) Items Enum: "created_asc" "created_desc" "end_user_last_login_asc" "end_user_last_login_desc" |
include_count | boolean (Include Count) Default: false |
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
user_ids | Array of strings <uuid> (User Ids) The unique identifiers of the users. |
external_ids | Array of strings (External Ids) The external IDs of the users. |
{- "total": 0,
- "page": 0,
- "size": 0,
- "end_users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "external_id": "user|1234",
- "last_login_at": "2019-08-24T14:15:22Z"
}
]
}
Create a new end user.
external_id required | string (External Id) The ID that you assign to an end user. |
{- "external_id": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "external_id": "user|1234",
- "last_login_at": "2019-08-24T14:15:22Z",
- "desired_key_types": [
- "ecdsa_secp256k1"
], - "keyset_id": "0fd01f45-0fa7-45d1-9121-c431104386a5",
- "ecdsa": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "eddsa": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "ecdsa_stark": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "schnorr_secp256k1": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "auth_public_key": "SGVsbG8=",
- "encrypted_device_auth_key": "SGVsbG8=",
- "encrypted_device_shares_backups": [
- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "ecdsa": "SGVsbG8=",
- "eddsa": "SGVsbG8=",
- "ecdsa_stark": "SGVsbG8=",
- "schnorr_secp256k1": "SGVsbG8=",
- "auth_key": "SGVsbG8="
}
], - "last_backup_at": "2019-08-24T14:15:22Z",
- "export_allowed": true,
- "last_export_at": "2019-08-24T14:15:22Z"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "external_id": "user|1234",
- "last_login_at": "2019-08-24T14:15:22Z",
- "desired_key_types": [
- "ecdsa_secp256k1"
], - "keyset_id": "0fd01f45-0fa7-45d1-9121-c431104386a5",
- "ecdsa": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "eddsa": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "ecdsa_stark": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "schnorr_secp256k1": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "auth_public_key": "SGVsbG8=",
- "encrypted_device_auth_key": "SGVsbG8=",
- "encrypted_device_shares_backups": [
- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "ecdsa": "SGVsbG8=",
- "eddsa": "SGVsbG8=",
- "ecdsa_stark": "SGVsbG8=",
- "schnorr_secp256k1": "SGVsbG8=",
- "auth_key": "SGVsbG8="
}
], - "last_backup_at": "2019-08-24T14:15:22Z",
- "export_allowed": true,
- "last_export_at": "2019-08-24T14:15:22Z"
}
Gets the end user that corresponds to the given ID.
id required | string <uuid> (Id) ID of the end user to retrieve. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "external_id": "user|1234",
- "last_login_at": "2019-08-24T14:15:22Z",
- "desired_key_types": [
- "ecdsa_secp256k1"
], - "keyset_id": "0fd01f45-0fa7-45d1-9121-c431104386a5",
- "ecdsa": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "eddsa": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "ecdsa_stark": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "schnorr_secp256k1": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "xpub": "string",
- "encrypted_shares": {
- "device": "SGVsbG8=",
- "platform": [
- "SGVsbG8="
]
}, - "chain_code": "SGVsbG8="
}, - "auth_public_key": "SGVsbG8=",
- "encrypted_device_auth_key": "SGVsbG8=",
- "encrypted_device_shares_backups": [
- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "ecdsa": "SGVsbG8=",
- "eddsa": "SGVsbG8=",
- "ecdsa_stark": "SGVsbG8=",
- "schnorr_secp256k1": "SGVsbG8=",
- "auth_key": "SGVsbG8="
}
], - "last_backup_at": "2019-08-24T14:15:22Z",
- "export_allowed": true,
- "last_export_at": "2019-08-24T14:15:22Z"
}
Allow or disable export of a keyset for an end user.
id required | string <uuid> (Id) ID of the end user to allow export. |
allow required | boolean (Allow) Allow or disable export |
{- "allow": true
}
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
These endpoints allow you to view your user groups.
User Groups are used to collectively manage policies and view permissions for a group of users.
The API is read-only. To manage user groups, visit the Fordefi web console. See more info in the
user guide.
Get a list of user groups
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
states | Array of strings (States) Items Enum: "active" "deleted" |
user_group_ids | Array of strings <uuid> (User Group Ids) |
user_ids | Array of strings <uuid> (User Ids) |
modified_by | Array of strings <uuid> (Modified By) |
name | string (Name) non-empty |
search | string (Search) non-empty |
sort_by | Array of strings (Sort By) Items Enum: "created_at_asc" "created_at_desc" "modified_at_asc" "modified_at_desc" "name_asc" "name_desc" "users_count_asc" "users_count_desc" |
{- "total": 0,
- "page": 0,
- "size": 0,
- "user_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "users_count": 0,
- "admins_count": 0,
- "state": "active",
- "modified_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "proposed_change": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "new_name": "string",
- "added_users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
], - "removed_users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
]
}
}
]
}
Retrieve user group details
id required | string <uuid> (Id) ID of the user group to retrieve. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "users_count": 0,
- "admins_count": 0,
- "state": "active",
- "modified_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "proposed_change": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "new_name": "string",
- "added_users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
], - "removed_users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}
]
}
}
These endpoints allow you to manage audit logs.
Audit logs are used to track the actions of users in your organization.
Get a list of audit log records.
page | integer (Page) >= 1 Default: 1 The page number to fetch. |
size | integer (Size) [ 0 .. 100 ] Default: 50 The number of items per page. |
created_by | Array of strings <uuid> (Created By) |
created_before | string <date-time> (Created Before) |
created_after | string <date-time> (Created After) |
category | Array of strings (Category) Items Enum: "policy" "quorum_threshold" "user_management" "vaults" "address_book" "address_group" "backup" "webhook" "vault_group" "user_group" "aml_policy" "chains" "device_backup" "import_keys" |
{- "total": 0,
- "page": 0,
- "size": 0,
- "audit_log_records": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "request_id": "string",
- "category": "policy",
- "action": "string",
- "created_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_type": "person",
- "name": "John Doe",
- "email": "string",
- "state": "active",
- "role": "admin"
}, - "description": "string",
- "client_ip": "string"
}
]
}
Get a CSV-format list of audit log records.
created_by | Array of strings <uuid> (Created By) |
created_before | string <date-time> (Created Before) |
created_after | string <date-time> (Created After) |
category | Array of strings (Category) Items Enum: "policy" "quorum_threshold" "user_management" "vaults" "address_book" "address_group" "backup" "webhook" "vault_group" "user_group" "aml_policy" "chains" "device_backup" "import_keys" |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string"
}
Get an export by ID
id required | string <uuid> (Id) ID of the export to retrieve. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creation_time": "2019-08-24T14:15:22Z",
- "type": "csv",
- "state": "created",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "user_id": "string",
- "resource_type": "user",
- "successful_items_count": 0,
- "failed_items_count": 0,
- "total_items_count": 0,
- "request_id": "string",
- "download_url": "string",
- "expiration_time": "2019-08-24T14:15:22Z"
}
Abort an export by ID
id required | string <uuid> (Id) ID of the export to abort. |
{- "title": "string",
- "detail": "string",
- "request_id": "string",
- "system_error_code": "string",
- "error_type": "reverted_transaction"
}
Imports keys for an organization.
type required | string (Type) fireblocks fireblocks |
key_name required | string (Key Name) The name of the key to import. |
backup_zip_content required | string (Backup Zip Content) The base64 encoded content of the Fireblocks backup zip file. |
rsa_pem | string (Rsa Pem) The base64 encoded RSA private key used to encrypt the cosigner shares in PEM format.If not provided, the default RSA key will be used. |
rsa_pem_password | string (Rsa Pem Password) The password for RSA private key. |
{- "type": "fireblocks",
- "key_name": "string",
- "backup_zip_content": "SGVsbG8=",
- "rsa_pem": "SGVsbG8=",
- "rsa_pem_password": "string"
}
{- "keys": [
- {
- "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5",
- "key_name": "string",
- "key_type": "ecdsa_secp256k1",
- "key_origin": "native",
- "xpub": "string",
- "public_key_compressed": "SGVsbG8="
}
]
}
{- "keys": [
- {
- "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5",
- "key_name": "string",
- "key_type": "ecdsa_secp256k1",
- "key_origin": "native",
- "xpub": "string",
- "public_key_compressed": "SGVsbG8="
}
]
}