cryptoapis 1.1.0

Rust library/SDK for Crypto APIs 2.0
Documentation

Rust API client for cryptoapis

Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 2.0.0
  • Package version: 1.1.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen For more information, please visit https://cryptoapis.io

Installation

Put the package under your project folder and add the following to Cargo.toml under [dependencies]:

    openapi = { path = "./generated" }

Documentation for API Endpoints

All URIs are relative to https://rest.cryptoapis.io/v2

Class Method HTTP request Description
AssetsApi list_assets_details GET /market-data/assets/details List Assets Details
AutomaticCoinsForwardingApi create_automatic_coins_forwarding POST /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations Create Automatic Coins Forwarding
AutomaticCoinsForwardingApi delete_automatic_coins_forwarding DELETE /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations/{referenceId} Delete Automatic Coins Forwarding
AutomaticCoinsForwardingApi list_coins_forwarding_automations GET /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations List Coins Forwarding Automations
AutomaticTokensForwardingApi add_tokens_to_existing_from_address POST /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/add-token Add Tokens To Existing fromAddress
AutomaticTokensForwardingApi create_automatic_tokens_forwarding POST /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations Create Automatic Tokens Forwarding
AutomaticTokensForwardingApi delete_automatic_tokens_forwarding DELETE /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/{referenceId} Delete Automatic Tokens Forwarding
AutomaticTokensForwardingApi get_fee_address_details GET /blockchain-automations/{blockchain}/{network}/tokens-forwarding/fee-addresses Get Fee Address Details
AutomaticTokensForwardingApi list_tokens_forwarding_automations GET /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations List Tokens Forwarding Automations
CreateSubscriptionsForApi mined_transaction POST /blockchain-events/{blockchain}/{network}/subscriptions/transaction-mined Mined transaction
CreateSubscriptionsForApi new_block POST /blockchain-events/{blockchain}/{network}/subscriptions/block-mined New Block
CreateSubscriptionsForApi new_confirmed_coins_transactions POST /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed New confirmed coins transactions
CreateSubscriptionsForApi new_confirmed_coins_transactions_and_each_confirmation POST /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed-each-confirmation New confirmed coins transactions and each confirmation
CreateSubscriptionsForApi new_confirmed_internal_transactions POST /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed New confirmed internal transactions
CreateSubscriptionsForApi new_confirmed_internal_transactions_and_each_confirmation POST /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed-each-confirmation New confirmed internal transactions and each confirmation
CreateSubscriptionsForApi new_confirmed_tokens_transactions POST /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed New confirmed tokens transactions
CreateSubscriptionsForApi new_confirmed_tokens_transactions_and_each_confirmation POST /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed-each-confirmation New confirmed tokens transactions and each confirmation
CreateSubscriptionsForApi new_unconfirmed_coins_transactions POST /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-unconfirmed New unconfirmed coins transactions
CreateSubscriptionsForApi new_unconfirmed_tokens_transactions POST /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-unconfirmed New unconfirmed tokens transactions
ExchangeRatesApi get_exchange_rate_by_asset_symbols GET /market-data/exchange-rates/by-symbols/{fromAssetSymbol}/{toAssetSymbol} Get Exchange Rate By Asset Symbols
ExchangeRatesApi get_exchange_rate_by_assets_ids GET /market-data/exchange-rates/by-asset-ids/{fromAssetId}/{toAssetId} Get Exchange Rate By Assets IDs
GeneratingApi generate_receiving_address POST /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses Generate Receiving Address
InformativeApi get_wallet_asset_details GET /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network} Get Wallet Asset Details
InformativeApi list_receiving_addresses GET /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses List Receiving Addresses
InformativeApi list_supported_tokens GET /wallet-as-a-service/info/{blockchain}/{network}/supported-tokens List Supported Tokens
InternalApi get_internal_transaction_by_transaction_hash_and_operation_id GET /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal/{operationId} Get Internal Transaction by Transaction Hash and Operation Id
InternalApi list_internal_transaction_details_by_transaction_hash GET /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal List Internal Transaction Details by Transaction Hash
ManageSubscriptionsApi delete_blockchain_event_subscription DELETE /blockchain-events/{blockchain}/{network}/subscriptions/{referenceId} Delete Blockchain Event Subscription
ManageSubscriptionsApi list_blockchain_events_subscriptions GET /blockchain-events/{blockchain}/{network}/subscriptions List Blockchain Events Subscriptions
MetadataApi list_supported_assets GET /market-data/assets/supported List Supported Assets
OmniLayerApi get_omni_transaction_details_by_transaction_id__txid GET /blockchain-data/{blockchain}/{network}/omni/transactions/{transactionId} Get Omni Transaction Details By Transaction ID (Txid)
OmniLayerApi get_unconfirmed_omni_transaction_by_transaction_id__txid GET /blockchain-data/{blockchain}/{network}/omni/transactions-unconfirmed/{transactionId} Get Unconfirmed Omni Transaction By Transaction ID (Txid)
OmniLayerApi list_omni_tokens_by_address GET /blockchain-data/{blockchain}/{network}/omni/addresses/{address} List Omni Tokens By Address
OmniLayerApi list_omni_transactions_by_address GET /blockchain-data/{blockchain}/{network}/omni/addresses/{address}/transactions List Omni Transactions By Address
OmniLayerApi list_omni_transactions_by_block_hash GET /blockchain-data/{blockchain}/{network}/omni/blocks/hash/{blockHash}/transactions List Omni Transactions By Block Hash
OmniLayerApi list_omni_transactions_by_block_height GET /blockchain-data/{blockchain}/{network}/omni/blocks/height/{blockHeight}/transactions List Omni Transactions By Block Height
OmniLayerApi list_unconfirmed_omni_transactions_by_address GET /blockchain-data/{blockchain}/{network}/omni/address-transactions-unconfirmed/{address} List Unconfirmed Omni Transactions By Address
OmniLayerApi list_unconfirmed_omni_transactions_by_property_id GET /blockchain-data/{blockchain}/{network}/omni/properties/{propertyId}/transactions List Unconfirmed Omni Transactions By Property ID
TokensApi get_contract_details_by_address GET /blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract Get Contract Details by Address
TokensApi list_tokens_by_address GET /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens List Tokens By Address
TokensApi list_tokens_transfers_by_address GET /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers List Tokens Transfers By Address
TokensApi list_tokens_transfers_by_transaction_hash GET /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers List Tokens Transfers By Transaction Hash
TransactionsApi create_coins_transaction_request_from_address POST /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/transaction-requests Create Coins Transaction Request from Address
TransactionsApi create_coins_transaction_request_from_wallet POST /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transaction-requests Create Coins Transaction Request from Wallet
TransactionsApi create_tokens_transaction_request_from_address POST /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/token-transaction-requests Create Tokens Transaction Request from Address
UTXOBasedApi get_hd_wallet__x_pub_y_pub_z_pub_details GET /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/details Get HD Wallet (xPub, yPub, zPub) Details
UTXOBasedApi list_hd_wallet__x_pub_y_pub_z_pub_transactions GET /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions List HD Wallet (xPub, yPub, zPub) Transactions
UTXOBasedApi sync_hd_wallet__x_pub_y_pub_z_pub POST /blockchain-data/{blockchain}/{network}/hd/sync Sync HD Wallet (xPub, yPub, zPub)
UnifiedEndpointsApi get_address_details GET /blockchain-data/{blockchain}/{network}/addresses/{address} Get Address Details
UnifiedEndpointsApi get_block_details_by_block_hash GET /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash} Get Block Details By Block Hash
UnifiedEndpointsApi get_block_details_by_block_height GET /blockchain-data/{blockchain}/{network}/blocks/height/{height} Get Block Details By Block Height
UnifiedEndpointsApi get_fee_recommendations GET /blockchain-data/{blockchain}/{network}/mempool/fees Get Fee Recommendations
UnifiedEndpointsApi get_latest_mined_block GET /blockchain-data/{blockchain}/{network}/blocks/last Get Latest Mined Block
UnifiedEndpointsApi get_transaction_details_by_transaction_id GET /blockchain-data/{blockchain}/{network}/transactions/{transactionId} Get Transaction Details By Transaction ID
UnifiedEndpointsApi list_transactions_by_address GET /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions List Transactions By Address
UnifiedEndpointsApi list_transactions_by_block_hash GET /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}/transactions List Transactions by Block Hash
UnifiedEndpointsApi list_transactions_by_block_height GET /blockchain-data/{blockchain}/{network}/blocks/height/{height}/transactions List Transactions by Block Height
ValidatingApi validate_address POST /blockchain-tools/{blockchain}/{network}/addresses/validate Validate Address
XRPRippleApi get_latest_mined_xrp__ripple_block GET /blockchain-data/xrp-specific/{network}/blocks/last Get Latest Mined XRP (Ripple) Block
XRPRippleApi get_xrp__ripple_address_details GET /blockchain-data/xrp-specific/{network}/addresses/{address} Get XRP (Ripple) Address Details
XRPRippleApi get_xrp__ripple_block_details_by_block_hash GET /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash} Get XRP (Ripple) Block Details By Block Hash
XRPRippleApi get_xrp__ripple_block_details_by_block_height GET /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight} Get XRP (Ripple) Block Details By Block Height
XRPRippleApi get_xrp__ripple_transaction_details_by_transaction_id GET /blockchain-data/xrp-specific/{network}/transactions/{transactionHash} Get XRP (Ripple) Transaction Details By Transaction ID
XRPRippleApi list_xrp__ripple_transactions_by_address GET /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions List XRP (Ripple) Transactions by Address
XRPRippleApi list_xrp__ripple_transactions_by_block_hash GET /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}/transactions List XRP (Ripple) Transactions By Block Hash
XRPRippleApi list_xrp__ripple_transactions_by_block_height GET /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}/transactions List XRP (Ripple) Transactions By Block Height
ZilliqaApi get_latest_mined_zilliqa_block GET /blockchain-data/zilliqa-specific/{network}/blocks/last Get Latest Mined Zilliqa Block
ZilliqaApi get_zilliqa_address_details GET /blockchain-data/zilliqa-specific/{network}/addresses/{address} Get Zilliqa Address Details
ZilliqaApi get_zilliqa_block_details_by_block_hash GET /blockchain-data/zilliqa-specific/{network}/blocks/hash/{blockHash} Get Zilliqa Block Details By Block Hash
ZilliqaApi get_zilliqa_block_details_by_block_height GET /blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight} Get Zilliqa Block Details By Block Height
ZilliqaApi get_zilliqa_transaction_details_by_transaction_id GET /blockchain-data/zilliqa-specific/{network}/transactions/{transactionHash} Get Zilliqa Transaction Details by Transaction ID
ZilliqaApi list_zilliqa_transactions_by_address GET /blockchain-data/zilliqa-specific/{network}/addresses/{address}/transactions List Zilliqa Transactions by Address
ZilliqaApi list_zilliqa_transactions_by_block_hash GET /blockchain-data/zilliqa-specific/{network}/blocks/hash/{blockHash}/transactions List Zilliqa Transactions By Block Hash
ZilliqaApi list_zilliqa_transactions_by_block_height GET /blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight}/transactions List Zilliqa Transactions By Block Height

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

developers@cryptoapis.io