Fireblocks API
Project description
Official Fireblocks Python SDK
The Fireblocks SDK allows developers to seamlessly integrate with the Fireblocks platform and perform a variety of operations, including managing vault accounts and executing transactions securely.
For detailed API documentation please refer to the Fireblocks API Reference.
Requirements.
Python 3.8+
Installation
To use the Fireblocks SDK, follow these steps:
pip install
If the python package is hosted on a repository, you can install directly using:
pip install fireblocks
Then import the package:
import fireblocks
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import fireblocks
Usage
Please follow the installation procedure first.
Initializing the SDK
You can initialize the Fireblocks SDK in two ways, either by setting environment variables or providing the parameters directly:
Using Environment Variables
You can initialize the SDK using environment variables from your .env file or by setting them programmatically:
use bash commands to set environment variables:
export FIREBLOCKS_BASE_PATH="https://sandbox-api.fireblocks.io/v1"
export FIREBLOCKS_API_KEY="my-api-key"
export FIREBLOCKS_SECRET_KEY="my-secret-key"
from fireblocks.client import Fireblocks
# Enter a context with an instance of the API client
with Fireblocks() as fireblocks:
pass
Providing Local Variables
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.base_path import BasePath
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
pass
Basic Api Examples
Creating a Vault Account
To create a new vault account, you can use the following function:
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.base_path import BasePath
from fireblocks.models.create_vault_account_request import CreateVaultAccountRequest
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
create_vault_account_request: CreateVaultAccountRequest = CreateVaultAccountRequest(
name='My First Vault Account',
hidden_on_ui=False,
auto_fuel=False
)
try:
# Create a new vault account
future = fireblocks.vaults.create_vault_account(create_vault_account_request=create_vault_account_request)
api_response = future.result() # Wait for the response
print("The response of VaultsApi->create_vault_account:\n")
pprint(api_response)
# to print just the data: pprint(api_response.data)
# to print just the data in json format: pprint(api_response.data.to_json())
except Exception as e:
print("Exception when calling VaultsApi->create_vault_account: %s\n" % e)
Retrieving Vault Accounts
To get a list of vault accounts, you can use the following function:
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
try:
# List vault accounts (Paginated)
future = fireblocks.vaults.get_paged_vault_accounts()
api_response = future.result() # Wait for the response
print("The response of VaultsApi->get_paged_vault_accounts:\n")
pprint(api_response)
# to print just the data: pprint(api_response.data)
# to print just the data in json format: pprint(api_response.data.to_json())
except Exception as e:
print("Exception when calling VaultsApi->get_paged_vault_accounts: %s\n" % e)
Creating a Transaction
To make a transaction between vault accounts, you can use the following function:
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.base_path import BasePath
from fireblocks.models.transaction_request import TransactionRequest
from fireblocks.models.destination_transfer_peer_path import DestinationTransferPeerPath
from fireblocks.models.source_transfer_peer_path import SourceTransferPeerPath
from fireblocks.models.transfer_peer_path_type import TransferPeerPathType
from fireblocks.models.transaction_request_amount import TransactionRequestAmount
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
transaction_request: TransactionRequest = TransactionRequest(
asset_id="ETH",
amount=TransactionRequestAmount("0.1"),
source=SourceTransferPeerPath(
type=TransferPeerPathType.VAULT_ACCOUNT,
id="0"
),
destination=DestinationTransferPeerPath(
type=TransferPeerPathType.VAULT_ACCOUNT,
id="1"
),
note="Your first transaction!"
)
# or you can use JSON approach:
#
# transaction_request: TransactionRequest = TransactionRequest.from_json(
# '{"note": "Your first transaction!", '
# '"assetId": "ETH", '
# '"source": {"type": "VAULT_ACCOUNT", "id": "0"}, '
# '"destination": {"type": "VAULT_ACCOUNT", "id": "1"}, '
# '"amount": "0.1"}'
# )
try:
# Create a new transaction
future = fireblocks.transactions.create_transaction(transaction_request=transaction_request)
api_response = future.result() # Wait for the response
print("The response of TransactionsApi->create_transaction:\n")
pprint(api_response)
# to print just the data: pprint(api_response.data)
# to print just the data in json format: pprint(api_response.data.to_json())
except Exception as e:
print("Exception when calling TransactionsApi->create_transaction: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://developers.fireblocks.com/reference/
Class | Method | HTTP request | Description |
---|---|---|---|
ApiUserApi | create_api_user | POST /management/api_users | Create Api user |
ApiUserApi | get_api_users | GET /management/api_users | Get Api users |
AssetsApi | create_assets_bulk | POST /vault/assets/bulk | Bulk creation of wallets |
AuditLogsApi | get_audit_logs | GET /management/audit_logs | Get audit logs |
AuditLogsApi | get_audits | GET /audits | Get audit logs |
BlockchainsAssetsApi | get_supported_assets | GET /supported_assets | List all asset types supported by Fireblocks |
BlockchainsAssetsApi | register_new_asset | POST /assets | Register an asset |
BlockchainsAssetsApi | set_asset_price | POST /assets/prices/{id} | Set asset price |
ComplianceApi | get_aml_post_screening_policy | GET /screening/aml/post_screening_policy | AML - View Post-Screening Policy |
ComplianceApi | get_aml_screening_policy | GET /screening/aml/screening_policy | AML - View Screening Policy |
ComplianceApi | get_post_screening_policy | GET /screening/travel_rule/post_screening_policy | Travel Rule - View Post-Screening Policy |
ComplianceApi | get_screening_policy | GET /screening/travel_rule/screening_policy | Travel Rule - View Screening Policy |
ComplianceApi | update_aml_screening_configuration | PUT /screening/aml/policy_configuration | Update AML Configuration |
ComplianceApi | update_screening_configuration | PUT /screening/configurations | Tenant - Screening Configuration |
ComplianceApi | update_travel_rule_config | PUT /screening/travel_rule/policy_configuration | Update Travel Rule Configuration |
ComplianceScreeningConfigurationApi | get_aml_screening_configuration | GET /screening/aml/policy_configuration | Get AML Screening Policy Configuration |
ComplianceScreeningConfigurationApi | get_screening_configuration | GET /screening/travel_rule/policy_configuration | Get Travel Rule Screening Policy Configuration |
ConsoleUserApi | create_console_user | POST /management/users | Create console user |
ConsoleUserApi | get_console_users | GET /management/users | Get console users |
ContractInteractionsApi | get_deployed_contract_abi | GET /contract_interactions/base_asset_id/{assetId}/contract_address/{contractAddress}/functions | Return deployed contract's ABI |
ContractInteractionsApi | read_call_function | POST /contract_interactions/base_asset_id/{assetId}/contract_address/{contractAddress}/functions/read | Call a read function on a deployed contract |
ContractInteractionsApi | write_call_function | POST /contract_interactions/base_asset_id/{assetId}/contract_address/{contractAddress}/functions/write | Call a write function on a deployed contract |
ContractTemplatesApi | delete_contract_template_by_id | DELETE /tokenization/templates/{contractTemplateId} | Delete a contract template by id |
ContractTemplatesApi | deploy_contract | POST /tokenization/templates/{contractTemplateId}/deploy | Deploy contract |
ContractTemplatesApi | get_constructor_by_contract_template_id | GET /tokenization/templates/{contractTemplateId}/constructor | Return contract template's constructor |
ContractTemplatesApi | get_contract_template_by_id | GET /tokenization/templates/{contractTemplateId} | Return contract template by id |
ContractTemplatesApi | get_contract_templates | GET /tokenization/templates | List all contract templates |
ContractTemplatesApi | get_function_abi_by_contract_template_id | GET /tokenization/templates/{contractTemplateId}/function | Return contract template's function |
ContractTemplatesApi | upload_contract_template | POST /tokenization/templates | Upload contract template |
ContractsApi | add_contract_asset | POST /contracts/{contractId}/{assetId} | Add an asset to a contract |
ContractsApi | create_contract | POST /contracts | Create a contract |
ContractsApi | delete_contract | DELETE /contracts/{contractId} | Delete a contract |
ContractsApi | delete_contract_asset | DELETE /contracts/{contractId}/{assetId} | Delete a contract asset |
ContractsApi | get_contract | GET /contracts/{contractId} | Find a specific contract |
ContractsApi | get_contract_asset | GET /contracts/{contractId}/{assetId} | Find a contract asset |
ContractsApi | get_contracts | GET /contracts | List contracts |
CosignersBetaApi | get_api_key | GET /cosigners/{cosignerId}/api_keys/{apiKeyId} | Get API key |
CosignersBetaApi | get_api_keys | GET /cosigners/{cosignerId}/api_keys | Get all API keys |
CosignersBetaApi | get_cosigner | GET /cosigners/{cosignerId} | Get cosigner |
CosignersBetaApi | get_cosigners | GET /cosigners | Get all cosigners |
CosignersBetaApi | rename_cosigner | PATCH /cosigners/{cosignerId} | Rename cosigner |
DeployedContractsApi | get_deployed_contract_by_address | GET /tokenization/contracts/{assetId}/{contractAddress} | Return deployed contract data |
DeployedContractsApi | get_deployed_contract_by_id | GET /tokenization/contracts/{id} | Return deployed contract data by id |
DeployedContractsApi | get_deployed_contracts | GET /tokenization/contracts | List deployed contracts data |
ExchangeAccountsApi | convert_assets | POST /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. |
ExchangeAccountsApi | get_exchange_account | GET /exchange_accounts/{exchangeAccountId} | Find a specific exchange account |
ExchangeAccountsApi | get_exchange_account_asset | GET /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account |
ExchangeAccountsApi | get_paged_exchange_accounts | GET /exchange_accounts/paged | Pagination list exchange accounts |
ExchangeAccountsApi | internal_transfer | POST /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts |
ExternalWalletsApi | add_asset_to_external_wallet | POST /external_wallets/{walletId}/{assetId} | Add an asset to an external wallet. |
ExternalWalletsApi | create_external_wallet | POST /external_wallets | Create an external wallet |
ExternalWalletsApi | delete_external_wallet | DELETE /external_wallets/{walletId} | Delete an external wallet |
ExternalWalletsApi | get_external_wallet | GET /external_wallets/{walletId} | Find an external wallet |
ExternalWalletsApi | get_external_wallet_asset | GET /external_wallets/{walletId}/{assetId} | Get an asset from an external wallet |
ExternalWalletsApi | get_external_wallets | GET /external_wallets | List external wallets |
ExternalWalletsApi | remove_asset_from_external_wallet | DELETE /external_wallets/{walletId}/{assetId} | Delete an asset from an external wallet |
ExternalWalletsApi | set_external_wallet_customer_ref_id | POST /external_wallets/{walletId}/set_customer_ref_id | Set an AML customer reference ID for an external wallet |
FiatAccountsApi | deposit_funds_from_linked_dda | POST /fiat_accounts/{accountId}/deposit_from_linked_dda | Deposit funds from DDA |
FiatAccountsApi | get_fiat_account | GET /fiat_accounts/{accountId} | Find a specific fiat account |
FiatAccountsApi | get_fiat_accounts | GET /fiat_accounts | List fiat accounts |
FiatAccountsApi | redeem_funds_to_linked_dda | POST /fiat_accounts/{accountId}/redeem_to_linked_dda | Redeem funds to DDA |
GasStationsApi | get_gas_station_by_asset_id | GET /gas_station/{assetId} | Get gas station settings by asset |
GasStationsApi | get_gas_station_info | GET /gas_station | Get gas station settings |
GasStationsApi | update_gas_station_configuration | PUT /gas_station/configuration | Edit gas station settings |
GasStationsApi | update_gas_station_configuration_by_asset_id | PUT /gas_station/configuration/{assetId} | Edit gas station settings for an asset |
InternalWalletsApi | create_internal_wallet | POST /internal_wallets | Create an internal wallet |
InternalWalletsApi | create_internal_wallet_asset | POST /internal_wallets/{walletId}/{assetId} | Add an asset to an internal wallet |
InternalWalletsApi | delete_internal_wallet | DELETE /internal_wallets/{walletId} | Delete an internal wallet |
InternalWalletsApi | delete_internal_wallet_asset | DELETE /internal_wallets/{walletId}/{assetId} | Delete a whitelisted address from an internal wallet |
InternalWalletsApi | get_internal_wallet | GET /internal_wallets/{walletId} | Get assets for internal wallet |
InternalWalletsApi | get_internal_wallet_asset | GET /internal_wallets/{walletId}/{assetId} | Get an asset from an internal wallet |
InternalWalletsApi | get_internal_wallets | GET /internal_wallets | List internal wallets |
InternalWalletsApi | set_customer_ref_id_for_internal_wallet | POST /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for an internal wallet |
JobManagementApi | cancel_job | POST /batch/{jobId}/cancel | Cancel a running job |
JobManagementApi | continue_job | POST /batch/{jobId}/continue | Continue a paused job |
JobManagementApi | get_job | GET /batch/{jobId} | Get job details |
JobManagementApi | get_job_tasks | GET /batch/{jobId}/tasks | Return a list of tasks for given job |
JobManagementApi | get_jobs | GET /batch/jobs | Return a list of jobs belonging to tenant |
JobManagementApi | pause_job | POST /batch/{jobId}/pause | Pause a job |
KeyLinkBetaApi | create_signing_key | POST /key_link/signing_keys | Add a new signing key |
KeyLinkBetaApi | create_validation_key | POST /key_link/validation_keys | Add a new validation key |
KeyLinkBetaApi | disable_validation_key | PATCH /key_link/validation_keys/{keyId} | Disables a validation key |
KeyLinkBetaApi | get_signing_key | GET /key_link/signing_keys/{keyId} | Get a signing key by `keyId` |
KeyLinkBetaApi | get_signing_keys_list | GET /key_link/signing_keys | Get list of signing keys |
KeyLinkBetaApi | get_validation_key | GET /key_link/validation_keys/{keyId} | Get a validation key by `keyId` |
KeyLinkBetaApi | get_validation_keys_list | GET /key_link/validation_keys | Get list of registered validation keys |
KeyLinkBetaApi | set_agent_id | PATCH /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` |
KeyLinkBetaApi | update_signing_key | PATCH /key_link/signing_keys/{keyId} | Modify the signing by Fireblocks provided `keyId` |
NFTsApi | get_nft | GET /nfts/tokens/{id} | List token data by ID |
NFTsApi | get_nfts | GET /nfts/tokens | List tokens by IDs |
NFTsApi | get_ownership_tokens | GET /nfts/ownership/tokens | List all owned tokens (paginated) |
NFTsApi | list_owned_collections | GET /nfts/ownership/collections | List owned collections (paginated) |
NFTsApi | list_owned_tokens | GET /nfts/ownership/assets | List all distinct owned tokens (paginated) |
NFTsApi | refresh_nft_metadata | PUT /nfts/tokens/{id} | Refresh token metadata |
NFTsApi | update_ownership_tokens | PUT /nfts/ownership/tokens | Refresh vault account tokens |
NFTsApi | update_token_ownership_status | PUT /nfts/ownership/tokens/{id}/status | Update token ownership status |
NFTsApi | update_tokens_ownership_spam | PUT /nfts/ownership/tokens/spam | Update tokens ownership spam property |
NFTsApi | update_tokens_ownership_status | PUT /nfts/ownership/tokens/status | Update tokens ownership status |
NetworkConnectionsApi | check_third_party_routing | GET /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation by asset type. |
NetworkConnectionsApi | create_network_connection | POST /network_connections | Creates a new network connection |
NetworkConnectionsApi | create_network_id | POST /network_ids | Creates a new Network ID |
NetworkConnectionsApi | delete_network_connection | DELETE /network_connections/{connectionId} | Deletes a network connection by ID |
NetworkConnectionsApi | delete_network_id | DELETE /network_ids/{networkId} | Deletes specific network ID. |
NetworkConnectionsApi | get_network | GET /network_connections/{connectionId} | Get a network connection |
NetworkConnectionsApi | get_network_connections | GET /network_connections | List network connections |
NetworkConnectionsApi | get_network_id | GET /network_ids/{networkId} | Returns specific network ID. |
NetworkConnectionsApi | get_network_ids | GET /network_ids | Returns all network IDs, both local IDs and discoverable remote IDs |
NetworkConnectionsApi | get_routing_policy_asset_groups | GET /network_ids/routing_policy_asset_groups | Returns all enabled routing policy asset groups |
NetworkConnectionsApi | set_network_id_discoverability | PATCH /network_ids/{networkId}/set_discoverability | Update network ID's discoverability. |
NetworkConnectionsApi | set_network_id_name | PATCH /network_ids/{networkId}/set_name | Update network ID's name. |
NetworkConnectionsApi | set_network_id_routing_policy | PATCH /network_ids/{networkId}/set_routing_policy | Update network id routing policy. |
NetworkConnectionsApi | set_routing_policy | PATCH /network_connections/{connectionId}/set_routing_policy | Update network connection routing policy. |
OTABetaApi | get_ota_status | GET /management/ota | Returns current OTA status |
OTABetaApi | set_ota_status | PUT /management/ota | Enable or disable transactions to OTA |
OffExchangesApi | add_off_exchange | POST /off_exchange/add | add collateral |
OffExchangesApi | get_off_exchange_collateral_accounts | GET /off_exchange/collateral_accounts/{mainExchangeAccountId} | Find a specific collateral exchange account |
OffExchangesApi | get_off_exchange_settlement_transactions | GET /off_exchange/settlements/transactions | get settlements transactions from exchange |
OffExchangesApi | remove_off_exchange | POST /off_exchange/remove | remove collateral |
OffExchangesApi | settle_off_exchange_trades | POST /off_exchange/settlements/trader | create settlement for a trader |
PaymentsPayoutApi | create_payout | POST /payments/payout | Create a payout instruction set |
PaymentsPayoutApi | execute_payout_action | POST /payments/payout/{payoutId}/actions/execute | Execute a payout instruction set |
PaymentsPayoutApi | get_payout | GET /payments/payout/{payoutId} | Get the status of a payout instruction set |
PolicyEditorBetaApi | get_active_policy | GET /tap/active_policy | Get the active policy and its validation |
PolicyEditorBetaApi | get_draft | GET /tap/draft | Get the active draft |
PolicyEditorBetaApi | publish_draft | POST /tap/draft | Send publish request for a certain draft id |
PolicyEditorBetaApi | publish_policy_rules | POST /tap/publish | Send publish request for a set of policy rules |
PolicyEditorBetaApi | update_draft | PUT /tap/draft | Update the draft with a new set of rules |
ResetDeviceApi | reset_device | POST /management/users/{id}/reset_device | Resets device |
SmartTransferApi | cancel_ticket | PUT /smart-transfers/{ticketId}/cancel | Cancel Ticket |
SmartTransferApi | create_ticket | POST /smart-transfers | Create Ticket |
SmartTransferApi | create_ticket_term | POST /smart-transfers/{ticketId}/terms | Create leg (term) |
SmartTransferApi | find_ticket_by_id | GET /smart-transfers/{ticketId} | Search Tickets by ID |
SmartTransferApi | find_ticket_term_by_id | GET /smart-transfers/{ticketId}/terms/{termId} | Search ticket by leg (term) ID |
SmartTransferApi | fulfill_ticket | PUT /smart-transfers/{ticketId}/fulfill | Fund ticket manually |
SmartTransferApi | fund_ticket_term | PUT /smart-transfers/{ticketId}/terms/{termId}/fund | Define funding source |
SmartTransferApi | get_smart_transfer_user_groups | GET /smart-transfers/settings/user-groups | Get user group |
SmartTransferApi | manually_fund_ticket_term | PUT /smart-transfers/{ticketId}/terms/{termId}/manually-fund | Manually add term transaction |
SmartTransferApi | remove_ticket_term | DELETE /smart-transfers/{ticketId}/terms/{termId} | Delete ticket leg (term) |
SmartTransferApi | search_tickets | GET /smart-transfers | Find Ticket |
SmartTransferApi | set_external_ref_id | PUT /smart-transfers/{ticketId}/external-id | Add external ref. ID |
SmartTransferApi | set_ticket_expiration | PUT /smart-transfers/{ticketId}/expires-in | Set expiration |
SmartTransferApi | set_user_groups | POST /smart-transfers/settings/user-groups | Set user group |
SmartTransferApi | submit_ticket | PUT /smart-transfers/{ticketId}/submit | Submit ticket |
SmartTransferApi | update_ticket_term | PUT /smart-transfers/{ticketId}/terms/{termId} | Update ticket leg (term) |
StakingBetaApi | approve_terms_of_service_by_provider_id | POST /staking/providers/{providerId}/approveTermsOfService | |
StakingBetaApi | execute_action | POST /staking/chains/{chainDescriptor}/{actionId} | |
StakingBetaApi | get_all_delegations | GET /staking/positions | |
StakingBetaApi | get_chain_info | GET /staking/chains/{chainDescriptor}/chainInfo | |
StakingBetaApi | get_chains | GET /staking/chains | |
StakingBetaApi | get_delegation_by_id | GET /staking/positions/{id} | |
StakingBetaApi | get_providers | GET /staking/providers | |
StakingBetaApi | get_summary | GET /staking/positions/summary | |
StakingBetaApi | get_summary_by_vault | GET /staking/positions/summary/vaults | |
TokenizationApi | get_linked_token | GET /tokenization/tokens/{id} | Return a linked token |
TokenizationApi | get_linked_tokens | GET /tokenization/tokens | List all linked tokens |
TokenizationApi | issue_new_token | POST /tokenization/tokens | Issue a new token |
TokenizationApi | link | POST /tokenization/tokens/link | Link a token |
TokenizationApi | unlink | DELETE /tokenization/tokens/{id} | Unlink a token |
TransactionsApi | cancel_transaction | POST /transactions/{txId}/cancel | Cancel a transaction |
TransactionsApi | create_transaction | POST /transactions | Create a new transaction |
TransactionsApi | drop_transaction | POST /transactions/{txId}/drop | Drop ETH transaction by ID |
TransactionsApi | estimate_network_fee | GET /estimate_network_fee | Estimate the required fee for an asset |
TransactionsApi | estimate_transaction_fee | POST /transactions/estimate_fee | Estimate transaction fee |
TransactionsApi | freeze_transaction | POST /transactions/{txId}/freeze | Freeze a transaction |
TransactionsApi | get_transaction | GET /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID |
TransactionsApi | get_transaction_by_external_id | GET /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID |
TransactionsApi | get_transactions | GET /transactions | List transaction history |
TransactionsApi | set_confirmation_threshold_by_transaction_hash | POST /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash |
TransactionsApi | set_transaction_confirmation_threshold | POST /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID |
TransactionsApi | unfreeze_transaction | POST /transactions/{txId}/unfreeze | Unfreeze a transaction |
TransactionsApi | validate_address | GET /transactions/validate_address/{assetId}/{address} | Validate destination address |
TravelRuleBetaApi | get_vaspby_did | GET /screening/travel_rule/vasp/{did} | Get VASP details |
TravelRuleBetaApi | get_vasps | GET /screening/travel_rule/vasp | Get All VASPs |
TravelRuleBetaApi | update_vasp | PUT /screening/travel_rule/vasp/update | Add jsonDidKey to VASP details |
TravelRuleBetaApi | validate_full_travel_rule_transaction | POST /screening/travel_rule/transaction/validate/full | Validate Full Travel Rule Transaction |
TravelRuleBetaApi | validate_travel_rule_transaction | POST /screening/travel_rule/transaction/validate | Validate Travel Rule Transaction |
UserGroupsBetaApi | create_user_group | POST /management/user_groups | Create user group |
UserGroupsBetaApi | delete_user_group | DELETE /management/user_groups/{groupId} | Delete user group |
UserGroupsBetaApi | get_user_group | GET /management/user_groups/{groupId} | Get user group |
UserGroupsBetaApi | get_user_groups | GET /management/user_groups | List user groups |
UserGroupsBetaApi | update_user_group | PUT /management/user_groups/{groupId} | Update user group |
UsersApi | get_users | GET /users | List users |
VaultsApi | activate_asset_for_vault_account | POST /vault/accounts/{vaultAccountId}/{assetId}/activate | Activate a wallet in a vault account |
VaultsApi | create_legacy_address | POST /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy | Convert a segwit address to legacy format |
VaultsApi | create_multiple_accounts | POST /vault/accounts/bulk | Bulk creation of new vault accounts |
VaultsApi | create_vault_account | POST /vault/accounts | Create a new vault account |
VaultsApi | create_vault_account_asset | POST /vault/accounts/{vaultAccountId}/{assetId} | Create a new wallet |
VaultsApi | create_vault_account_asset_address | POST /vault/accounts/{vaultAccountId}/{assetId}/addresses | Create new asset deposit address |
VaultsApi | get_asset_wallets | GET /vault/asset_wallets | List asset wallets (Paginated) |
VaultsApi | get_max_spendable_amount | GET /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get the maximum spendable amount in a single transaction. |
VaultsApi | get_paged_vault_accounts | GET /vault/accounts_paged | List vault accounts (Paginated) |
VaultsApi | get_public_key_info | GET /vault/public_key_info | Get the public key information |
VaultsApi | get_public_key_info_for_address | GET /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key for a vault account |
VaultsApi | get_unspent_inputs | GET /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information |
VaultsApi | get_vault_account | GET /vault/accounts/{vaultAccountId} | Find a vault account by ID |
VaultsApi | get_vault_account_asset | GET /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account |
VaultsApi | get_vault_account_asset_addresses_paginated | GET /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) |
VaultsApi | get_vault_assets | GET /vault/assets | Get asset balance for chosen assets |
VaultsApi | get_vault_balance_by_asset | GET /vault/assets/{assetId} | Get vault balance by asset |
VaultsApi | hide_vault_account | POST /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console |
VaultsApi | set_customer_ref_id_for_address | POST /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID |
VaultsApi | set_vault_account_auto_fuel | POST /vault/accounts/{vaultAccountId}/set_auto_fuel | Turn autofueling on or off |
VaultsApi | set_vault_account_customer_ref_id | POST /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT customer reference ID for a vault account |
VaultsApi | unhide_vault_account | POST /vault/accounts/{vaultAccountId}/unhide | Unhide a vault account in the console |
VaultsApi | update_vault_account | PUT /vault/accounts/{vaultAccountId} | Rename a vault account |
VaultsApi | update_vault_account_asset_address | PUT /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId} | Update address description |
VaultsApi | update_vault_account_asset_balance | POST /vault/accounts/{vaultAccountId}/{assetId}/balance | Refresh asset balance data |
Web3ConnectionsApi | create | POST /connections/wc | Create a new Web3 connection. |
Web3ConnectionsApi | get | GET /connections | List all open Web3 connections. |
Web3ConnectionsApi | remove | DELETE /connections/wc/{id} | Remove an existing Web3 connection. |
Web3ConnectionsApi | submit | PUT /connections/wc/{id} | Respond to a pending Web3 connection request. |
WebhooksApi | resend_transaction_webhooks | POST /webhooks/resend/{txId} | Resend failed webhooks for a transaction by ID |
WebhooksApi | resend_webhooks | POST /webhooks/resend | Resend failed webhooks |
WorkspaceStatusBetaApi | get_workspace_status | GET /management/workspace_status | Returns current workspace status |
WhitelistIpAddressesApi | get_whitelist_ip_addresses | GET /management/api_users/{userId}/whitelist_ip_addresses | Gets whitelisted ip addresses |
Documentation For Models
- APIUser
- AbiFunction
- Account
- AccountType
- AddAssetToExternalWalletRequest
- AddAssetToExternalWalletRequestOneOf
- AddAssetToExternalWalletRequestOneOf1
- AddAssetToExternalWalletRequestOneOf1AdditionalInfo
- AddAssetToExternalWalletRequestOneOf1AdditionalInfoOneOf
- AddAssetToExternalWalletRequestOneOf1AdditionalInfoOneOf1
- AddAssetToExternalWalletRequestOneOf1AdditionalInfoOneOf2
- AddCollateralRequestBody
- AddContractAssetRequest
- AdditionalInfoDto
- AmlRegistrationResult
- AmlScreeningResult
- AmountAggregationTimePeriodMethod
- AmountAndChainDescriptor
- AmountInfo
- ApiKey
- ApiKeysPaginatedResponse
- AssetAlreadyExistHttpError
- AssetAmount
- AssetBadRequestErrorResponse
- AssetConflictErrorResponse
- AssetDoesNotExistHttpError
- AssetForbiddenErrorResponse
- AssetInternalServerErrorResponse
- AssetMetadataDto
- AssetNotFoundErrorResponse
- AssetPriceForbiddenErrorResponse
- AssetPriceNotFoundErrorResponse
- AssetPriceResponse
- AssetResponse
- AssetResponseMetadata
- AssetResponseOnchain
- AssetTypeResponse
- AssetWallet
- AuditLogData
- AuditorData
- AuthorizationGroups
- AuthorizationInfo
- BlockInfo
- CancelTransactionResponse
- ChainInfoResponseDto
- CollectionMetadataDto
- CollectionOwnershipResponse
- ComplianceResult
- ComplianceScreeningResult
- ConfigChangeRequestStatus
- ConfigConversionOperationSnapshot
- ConfigDisbursementOperationSnapshot
- ConfigOperation
- ConfigOperationSnapshot
- ConfigOperationStatus
- ConfigTransferOperationSnapshot
- ConsoleUser
- ContractAbiResponseDto
- ContractAttributes
- ContractDeployRequest
- ContractDeployResponse
- ContractDoc
- ContractMetadataDto
- ContractTemplateDto
- ContractUploadRequest
- ConversionConfigOperation
- ConversionOperationConfigParams
- ConversionOperationExecution
- ConversionOperationExecutionOutput
- ConversionOperationExecutionParams
- ConversionOperationExecutionParamsExecutionParams
- ConversionOperationFailure
- ConversionOperationPreview
- ConversionOperationPreviewOutput
- ConversionOperationType
- ConversionValidationFailure
- ConvertAssetsRequest
- ConvertAssetsResponse
- Cosigner
- CosignersPaginatedResponse
- CreateAPIUser
- CreateAddressRequest
- CreateAddressResponse
- CreateAssetsBulkRequest
- CreateAssetsRequest
- CreateConfigOperationRequest
- CreateConnectionRequest
- CreateConnectionResponse
- CreateConsoleUser
- CreateContractRequest
- CreateConversionConfigOperationRequest
- CreateDisbursementConfigOperationRequest
- CreateInternalTransferRequest
- CreateInternalWalletAssetRequest
- CreateMultipleAccountsRequest
- CreateNcwConnectionRequest
- CreateNetworkIdRequest
- CreatePayoutRequest
- CreateSigningKeyDto
- CreateTokenRequestDto
- CreateTokenRequestDtoCreateParams
- CreateTransactionResponse
- CreateTransferConfigOperationRequest
- CreateUserGroupResponse
- CreateValidationKeyDto
- CreateValidationKeyResponseDto
- CreateVaultAccountConnectionRequest
- CreateVaultAccountRequest
- CreateVaultAssetResponse
- CreateWalletRequest
- CreateWorkflowExecutionRequestParamsInner
- CustomRoutingDest
- DefaultNetworkRoutingDest
- DelegationDto
- DelegationSummaryDto
- DeleteNetworkConnectionResponse
- DeleteNetworkIdResponse
- DeployedContractResponseDto
- DeployedContractsPaginatedResponse
- DepositFundsFromLinkedDDAResponse
- Destination
- DestinationTransferPeerPath
- DestinationTransferPeerPathResponse
- DisbursementAmountInstruction
- DisbursementConfigOperation
- DisbursementInstruction
- DisbursementInstructionOutput
- DisbursementOperationConfigParams
- DisbursementOperationExecution
- DisbursementOperationExecutionOutput
- DisbursementOperationExecutionParams
- DisbursementOperationExecutionParamsExecutionParams
- DisbursementOperationInput
- DisbursementOperationPreview
- DisbursementOperationPreviewOutput
- DisbursementOperationPreviewOutputInstructionSetInner
- DisbursementOperationType
- DisbursementPercentageInstruction
- DisbursementValidationFailure
- DispatchPayoutResponse
- DraftResponse
- DraftReviewAndValidationResponse
- DropTransactionRequest
- DropTransactionResponse
- EVMTokenCreateParamsDto
- EditGasStationConfigurationResponse
- ErrorResponse
- ErrorResponseError
- ErrorSchema
- EstimatedNetworkFeeResponse
- EstimatedTransactionFeeResponse
- ExchangeAccount
- ExchangeAccountsPaged
- ExchangeAccountsPagedPaging
- ExchangeAsset
- ExchangeSettlementTransactionsResponse
- ExchangeTradingAccount
- ExchangeType
- ExecuteActionRequest
- ExecuteActionResponse
- ExecutionConversionOperation
- ExecutionDisbursementOperation
- ExecutionOperationStatus
- ExecutionScreeningOperation
- ExecutionTransferOperation
- ExternalWalletAsset
- FeeInfo
- FiatAccount
- FiatAccountType
- FiatAsset
- FreezeTransactionResponse
- FunctionDoc
- Funds
- GasStationConfiguration
- GasStationConfigurationResponse
- GasStationPropertiesResponse
- GetAPIUsersResponse
- GetAuditLogsResponse
- GetAuditLogsResponseDTO
- GetConnectionsResponse
- GetConsoleUsersResponse
- GetExchangeAccountsCredentialsPublicKeyResponse
- GetFilterParameter
- GetMaxSpendableAmountResponse
- GetNFTsResponse
- GetOtaStatusResponse
- GetOwnershipTokensResponse
- GetSigningKeyResponseDto
- GetTransactionOperation
- GetValidationKeyResponseDto
- GetWhitelistIpAddressesResponse
- GetWorkspaceStatusResponse
- HttpContractDoesNotExistError
- InstructionAmount
- InternalTransferResponse
- Job
- JobCreated
- LeanAbiFunction
- LeanContractDto
- LeanDeployedContractResponseDto
- ListOwnedCollectionsResponse
- ListOwnedTokensResponse
- MediaEntityResponse
- ModifySigningKeyAgentIdDto
- ModifySigningKeyDto
- ModifyValidationKeyDto
- NetworkChannel
- NetworkConnection
- NetworkConnectionResponse
- NetworkConnectionRoutingPolicyValue
- NetworkConnectionStatus
- NetworkFee
- NetworkId
- NetworkIdResponse
- NetworkIdRoutingPolicyValue
- NetworkRecord
- NoneNetworkRoutingDest
- NotFoundException
- OneTimeAddress
- OneTimeAddressAccount
- OperationExecutionFailure
- PaginatedAddressResponse
- PaginatedAddressResponsePaging
- PaginatedAssetWalletResponse
- PaginatedAssetWalletResponsePaging
- Paging
- Parameter
- ParameterWithValue
- PayeeAccount
- PayeeAccountResponse
- PayeeAccountType
- PaymentAccount
- PaymentAccountResponse
- PaymentAccountType
- PayoutInitMethod
- PayoutInstruction
- PayoutInstructionResponse
- PayoutInstructionState
- PayoutResponse
- PayoutState
- PayoutStatus
- PolicyAndValidationResponse
- PolicyCheckResult
- PolicyMetadata
- PolicyResponse
- PolicyRule
- PolicyRuleAmount
- PolicyRuleAmountAggregation
- PolicyRuleAuthorizationGroups
- PolicyRuleAuthorizationGroupsGroupsInner
- PolicyRuleCheckResult
- PolicyRuleDesignatedSigners
- PolicyRuleDst
- PolicyRuleError
- PolicyRuleOperators
- PolicyRuleRawMessageSigning
- PolicyRuleRawMessageSigningDerivationPath
- PolicyRuleSrc
- PolicyRules
- PolicySrcOrDestSubType
- PolicySrcOrDestType
- PolicyStatus
- PolicyValidation
- PreScreening
- ProviderDto
- PublicKeyInformation
- PublishDraftRequest
- PublishResult
- ReadAbiFunction
- ReadCallFunctionDto
- RedeemFundsToLinkedDDAResponse
- RegisterNewAssetRequest
- RelatedTransactionDto
- RemoveCollateralRequestBody
- RenameCosigner
- RenameVaultAccountResponse
- ResendTransactionWebhooksRequest
- ResendWebhooksByTransactionIdResponse
- ResendWebhooksResponse
- RespondToConnectionRequest
- RewardInfo
- RewardsInfo
- ScreeningConfigurationsRequest
- ScreeningOperationExecution
- ScreeningOperationExecutionOutput
- ScreeningOperationFailure
- ScreeningOperationType
- ScreeningPolicyResponse
- ScreeningProviderRulesConfigurationResponse
- ScreeningUpdateConfigurationsRequest
- ScreeningValidationFailure
- ScreeningVerdict
- ScreeningVerdictMatchedRule
- SessionDTO
- SessionMetadata
- SetAdminQuorumThresholdRequest
- SetAdminQuorumThresholdResponse
- SetAssetPriceRequest
- SetAutoFuelRequest
- SetConfirmationsThresholdRequest
- SetConfirmationsThresholdResponse
- SetCustomerRefIdForAddressRequest
- SetCustomerRefIdRequest
- SetNetworkIdDiscoverabilityRequest
- SetNetworkIdNameRequest
- SetNetworkIdResponse
- SetNetworkIdRoutingPolicyRequest
- SetOtaStatusRequest
- SetOtaStatusResponse
- SetOtaStatusResponseOneOf
- SetRoutingPolicyRequest
- SetRoutingPolicyResponse
- SettlementRequestBody
- SettlementResponse
- SignedMessage
- SignedMessageSignature
- SigningKeyDto
- SmartTransferBadRequestResponse
- SmartTransferCreateTicket
- SmartTransferCreateTicketTerm
- SmartTransferForbiddenResponse
- SmartTransferFundTerm
- SmartTransferManuallyFundTerm
- SmartTransferNotFoundResponse
- SmartTransferSetTicketExpiration
- SmartTransferSetTicketExternalId
- SmartTransferSetUserGroups
- SmartTransferSubmitTicket
- SmartTransferTicket
- SmartTransferTicketFilteredResponse
- SmartTransferTicketResponse
- SmartTransferTicketTerm
- SmartTransferTicketTermResponse
- SmartTransferUpdateTicketTerm
- SmartTransferUserGroups
- SmartTransferUserGroupsResponse
- SolanaBlockchainDataDto
- SourceTransferPeerPath
- SourceTransferPeerPathResponse
- SpamOwnershipResponse
- SpamTokenResponse
- SrcOrDestAttributesInner
- StakeRequestDto
- StakeResponseDto
- StellarRippleCreateParamsDto
- SystemMessageInfo
- Task
- TemplatesPaginatedResponse
- ThirdPartyRouting
- ToCollateralTransaction
- ToExchangeTransaction
- TokenCollectionResponse
- TokenLinkDto
- TokenLinkDtoTokenMetadata
- TokenLinkExistsHttpError
- TokenLinkRequestDto
- TokenOwnershipResponse
- TokenOwnershipSpamUpdatePayload
- TokenOwnershipStatusUpdatePayload
- TokenResponse
- TokensPaginatedResponse
- TradingAccountType
- Transaction
- TransactionFee
- TransactionOperation
- TransactionRequest
- TransactionRequestAmount
- TransactionRequestDestination
- TransactionRequestFee
- TransactionRequestGasLimit
- TransactionRequestGasPrice
- TransactionRequestNetworkFee
- TransactionRequestNetworkStaking
- TransactionRequestPriorityFee
- TransactionResponse
- TransactionResponseContractCallDecodedData
- TransactionResponseDestination
- TransferConfigOperation
- TransferOperationConfigParams
- TransferOperationExecution
- TransferOperationExecutionOutput
- TransferOperationExecutionParams
- TransferOperationExecutionParamsExecutionParams
- TransferOperationFailure
- TransferOperationFailureData
- TransferOperationPreview
- TransferOperationPreviewOutput
- TransferOperationType
- TransferPeerPathSubType
- TransferPeerPathType
- TransferValidationFailure
- TravelRuleAddress
- TravelRuleCreateTransactionRequest
- TravelRuleGetAllVASPsResponse
- TravelRuleIssuer
- TravelRuleIssuers
- TravelRuleOwnershipProof
- TravelRulePiiIVMS
- TravelRulePolicyRuleResponse
- TravelRuleTransactionBlockchainInfo
- TravelRuleUpdateVASPDetails
- TravelRuleVASP
- TravelRuleValidateFullTransactionRequest
- TravelRuleValidateTransactionRequest
- TravelRuleValidateTransactionResponse
- UnfreezeTransactionResponse
- UnmanagedWallet
- UnspentInput
- UnspentInputsResponse
- UnstakeRequestDto
- UpdateTokenOwnershipStatusDto
- UpdateVaultAccountAssetAddressRequest
- UpdateVaultAccountRequest
- UserGroupCreateRequest
- UserGroupCreateResponse
- UserGroupResponse
- UserGroupUpdateRequest
- UserResponse
- UserRole
- UserStatus
- UserType
- ValidateAddressResponse
- ValidationKeyDto
- ValidatorDto
- VaultAccount
- VaultAccountsPagedResponse
- VaultAccountsPagedResponsePaging
- VaultActionStatus
- VaultAsset
- VaultWalletAddress
- VendorDto
- WalletAsset
- WalletAssetAdditionalInfo
- WithdrawRequestDto
- WorkflowConfigStatus
- WorkflowConfigurationId
- WorkflowExecutionOperation
- WriteAbiFunction
- WriteCallFunctionDto
- WriteCallFunctionResponseDto
Documentation For Authorization
Authentication schemes defined for the API:
bearerTokenAuth
- Type: Bearer authentication (JWT)
ApiKeyAuth
- Type: API key
- API key parameter name: X-API-Key
- Location: HTTP header
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fireblocks-2.1.0.tar.gz
.
File metadata
- Download URL: fireblocks-2.1.0.tar.gz
- Upload date:
- Size: 352.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03bd704041df317277d544d93db61e91e088009f6695ea59e45983248daf3d6e |
|
MD5 | 155dffedf3c7c6aa7448bf723f9c97bd |
|
BLAKE2b-256 | afe3a5ae0776701238c639473f8e0998dc31443120903362f90476b023ab7454 |
File details
Details for the file fireblocks-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: fireblocks-2.1.0-py3-none-any.whl
- Upload date:
- Size: 809.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecfc58a640f95ad3dcfea4ad1de3eb007faf323b1820c879023ff83cc10b766e |
|
MD5 | cefa3d69c7b3ba294030b7fd1882e5f2 |
|
BLAKE2b-256 | d49bcdeda691fb1139d77ea740703b2fcc87b32e4a03d74371ed9ad76135965c |