openapi: 3.2.0 info: contact: name: Blockdaemon email: info@blockdaemon.com description: The Blockdaemon DeFi API provides a single interface to a multitude of DeFi projects and blockchains title: Blockdaemon DeFi Chain API version: 1.0.0 x-logo: altText: Blockdaemon logo backgroundColor: '#fafafa' url: https://storage.googleapis.com/blockdaemon-app-static-images/marketing/PNG/dark-logo.png servers: - url: https://svc.blockdaemon.com security: - ApiKeyAuth: [] tags: - name: Chain description: API endpoints for fetching information about blockchains paths: /defi/v1/chain/createaccount: post: tags: - Chain summary: Create Account description: 'Creates a new blockchain account by funding it with an initial transaction, using the recipient’s public key as the account identifier. The response includes details like chain ID, funding source, gas usage, and transaction data, enabling immediate activation and interaction on the network. > πŸ’‘ **Compute Unit Value:** `40` (Fixed)' operationId: chainCreateaccount requestBody: required: true description: The request body for a /defi/v1/chain/createaccount content: application/json: schema: $ref: '#/components/schemas/_chain_createaccount_Request' example: chainId: '1500' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amount: '1000000000000000000' destinationTag: '10' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '1500' from: GARNHXH36IUZE4F5MON5XBQX37OGVFGCOPOPN7CPQL3TP7VX2XI35QUJ gas: '100' data: AAAAAgAAAAAi09z78imScL1jm9uGF9/capTCc9z2/E+C9zf+t9XRvgAAAGQDC8UiAAAACAAAAAEAAAAAAAAAAAAAAABmfTp1AAAAAAAAAAEAAAAAAAAAAAAAAADQuA91G4JBImyPV1qVbcQQO5ZLoAbUUpgWDTv3XKqezQAAAAAATEtAAAAAAAAAAAA= x-bd-cu: '40' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/createfeetransaction: post: tags: - Chain summary: Create Fee Transaction description: 'Initiates a fee-collection transaction on the blockchain, deducting a default or customizable basis-point fee from the sender. The response returns chain ID, addresses, gas limits, and nonce, ensuring proper verification of fee deductions and transfers. > πŸ’‘ **Compute Unit Value:** `5` (Fixed)' operationId: chainCreatefeetransaction requestBody: required: true description: The request body for a /defi/v1/chain/createfeetransaction content: application/json: schema: $ref: '#/components/schemas/_chain_createfeetransaction_Request' example: chainId: '1' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' value: '10' data: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: '10000' referenceId: 8eec8150896e4fdaa26d4d1a1338d676 simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number msg: type: string data: type: object properties: chainId: type: string from: type: string to: type: string value: type: string gas: type: string gasPrice: type: string required: - chainId - from - to - value - gasPrice example: status: 200 msg: success data: chainId: '1' from: '0xDdE53141420C90550e87dF0349D79B3a6161f6F6' to: '0x558D7be6092Ca91DA26521Ac25b982D883218E2d' value: '15961584451717' gas: '30000' nonce: 87 x-bd-cu: '5' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/decodetransaction: post: tags: - Chain summary: Decode Transaction description: 'Decodes a raw, signed transaction into a human-readable format, revealing fields like nonce, gas price, recipient, value, and signature components. This helps developers and users audit or debug transactions by highlighting asset changes (sender, receiver, and transferred amount). > πŸ’‘ **Compute Unit Value:** `45` (Fixed)' operationId: chainDecodetransaction requestBody: required: true description: The request body for a /defi/v1/chain/decodetransaction content: application/json: schema: $ref: '#/components/schemas/_chain_decodetransaction_Request' example: chainId: '1' chainSymbol: ETH rawTransaction: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: parsedTx: nonce: 0 gasPrice: type: BigNumber hex: '0x09c9919d87' gasLimit: type: BigNumber hex: '0x0a4a11' to: '0xa67E9B68c41b0f26184D64C26e0b2B81466E5994' value: type: BigNumber hex: '0x01' data: 0x chainId: 1 v: 37 r: '0x7542477f2599acdda95c37ff0492bd0ac656687780033807e0434ccf69bd4015' s: '0x05f33bf2cde8001f51b46e18db78049b4509b824f09dccb45b4dbb9087d17049' from: '0xa2e73C17F437688946993F683930E3Fd42Dd4F8C' hash: '0x5c3ef8d1720f481a6dbeb58f4d6cb404f9e2b6f31ba52ba5c8df48142b9e2ad3' type: null assetChanges: from: '0xa2e73C17F437688946993F683930E3Fd42Dd4F8C' to: '0xa67E9B68c41b0f26184D64C26e0b2B81466E5994' value: type: BigNumber hex: '0x01' x-bd-cu: '45' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/estimategas: post: tags: - Chain summary: Estimate Gas description: 'Estimates the gas required for a proposed transaction on EVM-compatible chains by simulating its execution. The response provides an approximate gas limit, helping developers set optimal fees and avoid underfunding errors. > πŸ’‘ **Compute Unit Value:** `30` (Fixed)' operationId: chainEstimategas requestBody: required: true description: The request body for a /defi/v1/chain/estimategas content: application/json: schema: $ref: '#/components/schemas/_chain_estimategas_Request' example: chainId: '1' chainSymbol: ETH data: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: '10' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: estimatedGas: '153222' x-bd-cu: '30' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/genericsmartcontractmethod: post: tags: - Chain summary: Generic Smart Contract Method description: 'Executes read-only (view) functions on verified smart contracts, enabling queries like token balances or exchange rates without gas costs. The result includes on-chain data returned by the invoked function, facilitating up-to-date insights for decentralized applications. > πŸ’‘ **Compute Unit Value:** `40` (Fixed)' operationId: chainGenericsmartcontractmethod requestBody: required: true description: The request body for a /defi/v1/chain/genericsmartcontractmethod content: application/json: schema: $ref: '#/components/schemas/_chain_genericsmartcontractmethod_Request' example: chainId: '1' chainSymbol: ETH contractAddress: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' parameters: '4515444785' abi: '' methodName: getAmountsIn blockNumber: '100000' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: getAmountsIn: - '2425265' - '4515444785' x-bd-cu: '40' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getapprovaldata: get: tags: - Chain summary: Get Approval Data description: 'Retrieves token approval allowances granted by a specified address, listing spender addresses, token symbols, and allowed amounts. It also provides risk factors and value-at-risk metrics, aiding in auditing permissions and managing DeFi exposures. > πŸ’‘ **Compute Unit Value:** `75` (Fixed)' operationId: chainGetapprovaldata parameters: - name: address in: query required: true schema: type: string description: The public address of the user to retrieve approval data for. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: The public address of the user to retrieve approval data for. - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '137' - '56' - '43114' - '25' - '42161' - '10' - '8453' - '250' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: pageToken in: query required: false schema: type: string description: The cursor used to fetch the next page of results. example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYWdlIjoxLCJjb250cmFjdEFkZHJlc3MiOiIweGZhZThlNjRjZGRlNzM1NTBlN2Q3ZjA0Njk1NTdhMzNhNDE3YjI4NjgiLCJjb250cmFjdFR5cGUiOiJlcmMyMCIsImFwcHJvdmVyQWRkcmVzcyI6IjB4NjVhOGYwN2JkOWE4NTk4ZTFiNWI2YzBhODhmNDc3OWRiYzA3NzY3NSIsInNwZW5kZXJBZGRyZXNzIjoiMHgxMTExMTExMjU0ZmI2YzQ0YmFjMGJlZDI4NTRlNzZmOTA2NDMwOTdkIiwiaWF0IjoxNzMzMzkzODE2fQ.y7FANxpXgtdgk83CIqPHHk2jutj1NZrueTu4XR39jnk description: The cursor used to fetch the next page of results. - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: nextPageToken: eyJhbGciOiJIUzI1NiJ9.eyJrZXkiOnsicGsiOiIweDY1YThmMDdiZDlhODU5OGUxYjViNmMwYTg4ZjQ3NzlkYmMwNzc2NzUiLCJzayI6ImFwcHJvdmVyOjB4ZmFmZDRjYjcwM2IyNWNiMjJmNDNkMDE3ZTdlMGQ3NWZlYmMyNjc0MzplcmMyMDoweDIxNmI0YjRiYTlmM2U3MTk3MjY4ODZkMzRhMTc3NDg0Mjc4YmZjYWUifSwicGFnZSI6MH0.zTKO0SeAR3RbSJI2uk9S0lUaozcCafGMT2OjS1kvj30 approvals: - tokenAddress: '0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f' tokenSymbol: BORING spender: '0xe7b388d44fa9069385e174efe6f10616b149fe86' allowance: '115792089237316195423570985008687907853269984665640564036939768402646829639935' valueAtRisk: '0' riskFactor: LOW RISK lastUpdated: '1668720058' prices: usd: - '0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f': '0.000359667588245916' - tokenAddress: '0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f' tokenSymbol: BORING spender: '0xdef1c0ded9bec7f1a1670819833240f027b25eff' allowance: '115792089237316195423570985008687907853269984665640563892563776604972513032835' valueAtRisk: '0' riskFactor: LOW RISK lastUpdated: '1688315609' prices: usd: - '0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f': '0.000359667588245916' - tokenAddress: '0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f' tokenSymbol: BORING spender: '0x216b4b4ba9f3e719726886d34a177484278bfcae' allowance: '115792089237316195423570985008687907853269984665640563979724133720178046426639' valueAtRisk: '0' riskFactor: LOW RISK lastUpdated: '1704261178' prices: usd: - '0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f': '0.000359667588245916' - tokenAddress: '0xfeea0bdd3d07eb6fe305938878c0cadbfa169042' tokenSymbol: 8PAY spender: '0x1111111254fb6c44bac0bed2854e76f90643097d' allowance: '115792089237316195423570985008687907853269984665640563818699602112242849105734' valueAtRisk: '66114939279596' riskFactor: LOW RISK lastUpdated: '1643236661' prices: usd: - '0xfeea0bdd3d07eb6fe305938878c0cadbfa169042': NA - tokenAddress: '0xfeea0bdd3d07eb6fe305938878c0cadbfa169042' tokenSymbol: 8PAY spender: '0x1111111254eeb25477b68fb85ed929f73a960582' allowance: '115792089237316195423570985008687907853269984665640563950088107850441750668765' valueAtRisk: '66114939279596' riskFactor: LOW RISK lastUpdated: '1668723837' prices: usd: - '0xfeea0bdd3d07eb6fe305938878c0cadbfa169042': NA - tokenAddress: '0xfeea0bdd3d07eb6fe305938878c0cadbfa169042' tokenSymbol: 8PAY spender: '0x10ed43c718714eb63d5aa57b78b54704e256024e' allowance: '115792089237316195423570985008687907853269984665640563960590978914048759408961' valueAtRisk: '66114939279596' riskFactor: LOW RISK lastUpdated: '1667593810' prices: usd: - '0xfeea0bdd3d07eb6fe305938878c0cadbfa169042': NA - tokenAddress: '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605' tokenSymbol: NPC spender: '0xb6f6d86a8f9879a9c87f643768d9efc38c1da6e7' allowance: '115792089237316195423570985008687907853269984665640553442666315231023129639935' valueAtRisk: '1437467700503740915888' riskFactor: LOW RISK lastUpdated: '1753256130' prices: usd: - '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605': '0.029658048697289215' - tokenAddress: '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605' tokenSymbol: NPC spender: '0x89b8aa89fdd0507a99d334cbe3c808fafc7d850e' allowance: '115792089237316195423570985008687907853269984665640563989951705385352977865205' valueAtRisk: '1437467700503740915888' riskFactor: LOW RISK lastUpdated: '1735277110' prices: usd: - '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605': '0.029658048697289215' - tokenAddress: '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605' tokenSymbol: NPC spender: '0x6352a56caadc4f1e25cd6c75970fa768a3304e64' allowance: '115792089237316195423570985008687907853269984665640564039457584007913129639935' valueAtRisk: '1437467700503740915888' riskFactor: LOW RISK lastUpdated: '1749786724' prices: usd: - '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605': '0.029658048697289215' - tokenAddress: '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605' tokenSymbol: NPC spender: '0x6131b5fae19ea4f9d964eac0408e4408b66337b5' allowance: '115792089237316195423570985008687907853269984665640563682735854489602465982015' valueAtRisk: '1437467700503740915888' riskFactor: LOW RISK lastUpdated: '1749786732' prices: usd: - '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605': '0.029658048697289215' - tokenAddress: '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605' tokenSymbol: NPC spender: '0x216b4b4ba9f3e719726886d34a177484278bfcae' allowance: '115792089237316195423570985008687907853269984665640563431259875920565631041708' valueAtRisk: '1437467700503740915888' riskFactor: LOW RISK lastUpdated: '1750018812' prices: usd: - '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605': '0.029658048697289215' - tokenAddress: '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605' tokenSymbol: NPC spender: '0x1111111254eeb25477b68fb85ed929f73a960582' allowance: '115792089237316195423570985008687907853269984665640552312512800740634351831505' valueAtRisk: '1437467700503740915888' riskFactor: LOW RISK lastUpdated: '1749155156' prices: usd: - '0xfebfa339e44c28e2aa9e62ea1027c9cb4e378605': '0.029658048697289215' x-bd-cu: '75' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getbalance: get: tags: - Chain summary: Get Balance description: 'retrieves the current token balance for a specified wallet address on supported blockchain networks, with optional filtering by asset codes and issuers. It returns precise balance data essential for real-time portfolio tracking, fee calculations, and wallet-related operations in decentralized applications > πŸ’‘ **Compute Unit Value:** `50` (Fixed)' operationId: chainGetbalance parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '25' - '97' - '43114' - '338' - '900' - '901' - '1000' - '1002' - '1200' - '1201' - '43113' - '42161' - '421614' - '10' - '11155420' - '4002' - '324' - '300' - '1300' - '1301' - cosmoshub-4 - '1600' - '1601' - '1700' - '1701' - osmosis-1 - osmo-test-5 - '1800' - '137' - '80002' - '250' - '8453' - '84532' - '1400' - '1401' - '400' - '401' - '1100' - '1101' - '1500' - '1501' - '17000' - '5000' - '5003' - '560048' - '8217' - '1001' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: blockNumber in: query required: false schema: type: string description: Block number for which the balance needs to be retrieved. Defaults to the latest block if not specified. example: '100000' description: Block number for which the balance needs to be retrieved. Defaults to the latest block if not specified. - name: address in: query required: true schema: type: string description: The public address to get the balance of. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: The public address to get the balance of. - name: tokenAddress in: query required: false schema: type: string description: The address of the token to get the balance of. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: The address of the token to get the balance of. - name: timestamp in: query required: false schema: type: string description: Timestamp of the block number. Takes precedence over block number if both are provided. example: '1741869257' description: Timestamp of the block number. Takes precedence over block number if both are provided. - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: issuer in: query required: false schema: type: string description: The public address of the issuer. example: GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M description: The public address of the issuer. - name: assetCode in: query required: false schema: type: string description: The code of the asset to get the balance of. Required if issuer address is provided. example: VELO description: The code of the asset to get the balance of. Required if issuer address is provided. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: balance: type: string description: Account or token balance totalReceived: type: string description: Total received amount totalSent: type: string description: Total sent amount utxos: type: array items: type: object properties: block: type: string pattern: ^-?(0|[1-9][0-9]*)$ description: Block number txHash: type: string description: Transaction hash value: type: string description: Amount being transferred or involved in a transaction example: '10' refBalance: type: string description: Reference balance at the time of UTXO txInputN: type: string pattern: ^-?(0|[1-9][0-9]*)$ description: Transaction input index txOutputN: type: string pattern: ^-?(0|[1-9][0-9]*)$ description: Transaction output index confirmations: type: string description: Number of confirmations spent: type: boolean description: Boolean indicating whether the UTXO is spent required: - block - txHash - value - refBalance - txInputN - txOutputN - confirmations additionalProperties: false description: List of unspent transaction outputs assetCode: type: string description: Unique asset code (e.g., for Stellar or other chains) example: VELO issuer: type: string description: Entity or address issuing the token example: GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M usdPrice: type: string pattern: ^(0|NA|[1-9]\d*)(\.\d+)?$ description: Price of the asset in USD example: '4689.75' logoUrl: type: - string - 'null' description: URL for the asset's logo tags: type: - array - 'null' items: type: string description: List of category or classification tags prices: type: object properties: usd: type: array items: type: object additionalProperties: true minProperties: 1 maxProperties: 1 description: USD-denominated price or array of price points required: - usd description: Price data object required: - balance additionalProperties: false example: status: 200 msg: success data: balance: '0' usdPrice: '4603.59265991327' prices: usd: - eth: '4603.59265991327' logoUrl: https://images.ctfassets.net/hwqnbx905qdp/KB7lTVf04F9d0YQx7Ui4h/589c2efc739b0babc0074dab61d11e71/eip155_1-0x0000000000000000000000000000000000000000.webp tags: - native x-bd-cu: '50' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getblock: get: tags: - Chain summary: Get Block description: 'Retrieves comprehensive information about a specific block in the blockchain, including its hash, number, timestamp, and all contained transactions. It provides essential data for developers and operators to analyze blockchain history, verify transactions, and monitor network performance. > πŸ’‘ **Compute Unit Value:** `45` (Fixed)' operationId: chainGetblock parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '25' - '43114' - '900' - '901' - '1000' - '1002' - '1200' - '1201' - '43113' - '42161' - '421614' - '10' - '11155420' - '4002' - '324' - '300' - '1300' - '1301' - cosmoshub-4 - '1600' - '1601' - '1700' - '1701' - osmosis-1 - osmo-test-5 - '1800' - '1801' - '137' - '250' - '101' - '102' - '103' - '8453' - '1400' - '1401' - '400' - '401' - '1100' - '1101' - '1500' - '1501' - '17000' - '5000' - '5003' - '8217' - '1001' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: blockNumber in: query required: true schema: type: string description: The block number or block hash. example: '100000' description: The block number or block hash. - name: startBlock in: query required: false schema: type: string description: Starting block of the range. Maximum supported range is 10 (endBlock - 9). example: '100000' description: Starting block of the range. Maximum supported range is 10 (endBlock - 9). - name: endBlock in: query required: false schema: type: string description: Last block of the range. Maximum supported range is 10 (startBlock + 9). example: '100010' description: Last block of the range. Maximum supported range is 10 (startBlock + 9). responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: difficulty: null gasLimit: null gasUsed: null hash: 691675c6d439f546fc4996740a3ab899f77b11eca15890e4035a6196de194720 miner: null nonce: null number: 50755373 parentHash: b734852cf9763646a2c42da652a06d309ce928e0a877fa70a6ce9981f79954d8 size: null timestamp: 1710228542 totalDifficulty: null transactions: - hash: f4c5391ab820ef19f2cd0df68789336f04ac316d4fdf705545a0062194c3f3f1 transactionStatus: true blockNumber: '50755373' timestamp: '1710228542000' from: GDBUC4SQVYSI3EDT3QT26UABN2POJ355CDA5CUUVDGWWI2PDWB2MJQWN to: null value: null transactionFees: '100' gas: '250005' gasPrice: '100' input: null nonce: 175248559896083620 network: null transactionEnvelop: - type: TransactionEnvelope value: '[envelopeTypeTx]' nodes: - type: v1 nodes: - type: tx nodes: - type: sourceAccount value: '[keyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDBUC4SQVYSI3EDT3QT26UABN2POJ355CDA5CUUVDGWWI2PDWB2MJQWN - type: fee value: '250005' - type: seqNum value: '175248559896083608' - type: cond value: '[precondTime]' nodes: - type: timeBounds nodes: - type: minTime value: '0' - type: maxTime value: '1710228571' - type: memo value: '[memoNone]' - type: operations value: Array[1] nodes: - type: '[0]' nodes: - type: sourceAccount value: '[keyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: body value: '[manageBuyOffer]' nodes: - type: manageBuyOfferOp nodes: - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: yUSDC - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDGTVWSM4MGS4T7Z6W4RPWOCHE2I6RDFCIFZGS3DOA63LWQTRNZNTTFF - type: buyAmount value: '50192138338' - type: price nodes: - type: n value: '1000' - type: d value: '199999' - type: offerId value: '0' - type: ext value: '[undefined]' - type: signatures value: Array[2] nodes: - type: '[0]' nodes: - type: hint value: type: code value: G______________________________________________UGNO6____ - type: signature value: type: code raw: type: Buffer data: - 202 - 255 - 202 - 117 - 226 - 24 - 210 - 21 - 54 - 44 - 16 - 32 - 92 - 176 - 255 - 253 - 196 - 126 - 9 - 93 - 6 - 113 - 1 - 23 - 251 - 190 - 231 - 4 - 6 - 68 - 141 - 99 - 213 - 48 - 225 - 54 - 14 - 219 - 28 - 247 - 74 - 60 - 97 - 134 - 7 - 115 - 162 - 105 - 183 - 133 - 155 - 154 - 177 - 88 - 63 - 215 - 70 - 84 - 74 - 189 - 248 - 54 - 169 - 15 value: yv/KdeIY0hU2LBAgXLD//cR+CV0GcQEX+77nBAZEjWPVMOE2Dtsc90o8YYYHc6Jpt4WbmrFYP9dGVEq9+DapDw== - type: '[1]' nodes: - type: hint value: type: code value: G______________________________________________DWB2M____ - type: signature value: type: code raw: type: Buffer data: - 213 - 153 - 194 - 52 - 85 - 57 - 113 - 3 - 104 - 213 - 78 - 155 - 205 - 161 - 80 - 177 - 128 - 16 - 60 - 130 - 251 - 2 - 124 - 52 - 9 - 67 - 91 - 253 - 154 - 13 - 213 - 188 - 7 - 84 - 58 - 205 - 172 - 39 - 93 - 196 - 241 - 218 - 166 - 246 - 181 - 82 - 7 - 247 - 21 - 253 - 27 - 141 - 52 - 78 - 71 - 138 - 146 - 86 - 245 - 156 - 170 - 199 - 159 - 6 value: 1ZnCNFU5cQNo1U6bzaFQsYAQPIL7Anw0CUNb/ZoN1bwHVDrNrCddxPHapva1Ugf3Ff0bjTROR4qSVvWcqsefBg== transactionResult: - type: TransactionResult nodes: - type: feeCharged value: '100' - type: result value: '[txSuccess]' nodes: - type: results value: Array[1] nodes: - type: '[0]' value: '[opInner]' nodes: - type: tr value: '[manageBuyOffer]' nodes: - type: manageBuyOfferResult value: '[manageBuyOfferSuccess]' nodes: - type: success nodes: - type: offersClaimed value: Array[0] nodes: [] - type: offer value: '[manageOfferCreated]' nodes: - type: offer nodes: - type: sellerId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: offerId value: '1492969708' - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: yUSDC - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDGTVWSM4MGS4T7Z6W4RPWOCHE2I6RDFCIFZGS3DOA63LWQTRNZNTTFF - type: amount value: type: amount value: parsed: '25.0961946' raw: '250961946' - type: price nodes: - type: n value: '199999' - type: d value: '1000' - type: flags value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' transactionMeta: - type: TransactionMeta value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: txChangesBefore value: Array[2] nodes: - type: '[0]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDBUC4SQVYSI3EDT3QT26UABN2POJ355CDA5CUUVDGWWI2PDWB2MJQWN - type: balance value: '28406087' - type: seqNum value: '175248559896083607' - type: numSubEntries value: '0' - type: inflationDest value: null - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: [] value: '' - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '0' - type: selling value: '0' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '50755234' - type: seqTime value: '1710227684' - type: ext value: '[undefined]' - type: '[1]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDBUC4SQVYSI3EDT3QT26UABN2POJ355CDA5CUUVDGWWI2PDWB2MJQWN - type: balance value: '28406087' - type: seqNum value: '175248559896083608' - type: numSubEntries value: '0' - type: inflationDest value: null - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: [] value: '' - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '0' - type: selling value: '0' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '50755373' - type: seqTime value: '1710228542' - type: ext value: '[undefined]' - type: operations value: Array[1] nodes: - type: '[0]' nodes: - type: changes value: Array[5] nodes: - type: '[0]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: balance value: '130824249934' - type: seqNum value: '157510589776673723' - type: numSubEntries value: '825' - type: inflationDest value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDCHDRSDOBRMSUDKRE2C4U4KDLNEATJPIHHR2ORFL5BSD56G4DQXL4VW - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: - 108 - 111 - 98 - 115 - 116 - 114 - 46 - 99 - 111 value: bG9ic3RyLmNv - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '368268802115' - type: selling value: '93084825646' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '50746677' - type: seqTime value: '1710176726' - type: ext value: '[undefined]' - type: '[1]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: balance value: '130824249934' - type: seqNum value: '157510589776673723' - type: numSubEntries value: '826' - type: inflationDest value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDCHDRSDOBRMSUDKRE2C4U4KDLNEATJPIHHR2ORFL5BSD56G4DQXL4VW - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: - 108 - 111 - 98 - 115 - 116 - 114 - 46 - 99 - 111 value: bG9ic3RyLmNv - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '368268802115' - type: selling value: '93335787592' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '50746677' - type: seqTime value: '1710176726' - type: ext value: '[undefined]' - type: '[2]' value: '[ledgerEntryCreated]' nodes: - type: created nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[offer]' nodes: - type: offer nodes: - type: sellerId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: offerId value: '1492969708' - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: yUSDC - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDGTVWSM4MGS4T7Z6W4RPWOCHE2I6RDFCIFZGS3DOA63LWQTRNZNTTFF - type: amount value: type: amount value: parsed: '25.0961946' raw: '250961946' - type: price nodes: - type: n value: '199999' - type: d value: '1000' - type: flags value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: '[3]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[trustline]' nodes: - type: trustLine nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: asset value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: yUSDC - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDGTVWSM4MGS4T7Z6W4RPWOCHE2I6RDFCIFZGS3DOA63LWQTRNZNTTFF - type: balance value: '0' - type: limit value: type: amount value: parsed: '922337203685.4775807' raw: '9223372036854775807' - type: flags value: '1' - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '31000000186065605' - type: selling value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: '[4]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '50755373' - type: data value: '[trustline]' nodes: - type: trustLine nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBWHHC2FRUS2RG7EVWOZ3YMRN45VXCS4ILGVCX2QALBUFVHUGNO6P4IY - type: asset value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: yUSDC - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GDGTVWSM4MGS4T7Z6W4RPWOCHE2I6RDFCIFZGS3DOA63LWQTRNZNTTFF - type: balance value: '0' - type: limit value: type: amount value: parsed: '922337203685.4775807' raw: '9223372036854775807' - type: flags value: '1' - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '31000050378203843' - type: selling value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: txChangesAfter value: Array[0] nodes: [] - type: sorobanMeta value: null transactionsRoot: null uncles: null x-bd-cu: '45' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getevents: get: tags: - Chain summary: Get Events description: 'Retrieves blockchain events emitted within a specified ledger range (up to 10 hours from the latest ledger), providing detailed information on event types, ledger numbers, closing times, and unique identifiers. It returns structured data with topics and values that help developers monitor on-chain activities, debug smart contract interactions, and track blockchain state changes. > πŸ’‘ **Compute Unit Value:** `10` (Fixed)' operationId: chainGetevents parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1700' - '1701' - '1500' - '1501' example: '1700' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: contractAddress in: query required: true schema: type: string description: Public address of the user. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Public address of the user. - name: sortOrder in: query required: false schema: type: string description: Comma-separated value of tokens to retrieve. Maximum of 10 at a time. enum: - desc - asc example: desc description: Comma-separated value of tokens to retrieve. Maximum of 10 at a time. - name: pageToken in: query required: false schema: type: string description: Cursor to fetch the next page of results from the response. example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYWdlIjoxLCJjb250cmFjdEFkZHJlc3MiOiIweGZhZThlNjRjZGRlNzM1NTBlN2Q3ZjA0Njk1NTdhMzNhNDE3YjI4NjgiLCJjb250cmFjdFR5cGUiOiJlcmMyMCIsImFwcHJvdmVyQWRkcmVzcyI6IjB4NjVhOGYwN2JkOWE4NTk4ZTFiNWI2YzBhODhmNDc3OWRiYzA3NzY3NSIsInNwZW5kZXJBZGRyZXNzIjoiMHgxMTExMTExMjU0ZmI2YzQ0YmFjMGJlZDI4NTRlNzZmOTA2NDMwOTdkIiwiaWF0IjoxNzMzMzkzODE2fQ.y7FANxpXgtdgk83CIqPHHk2jutj1NZrueTu4XR39jnk description: Cursor to fetch the next page of results from the response. - name: startBlock in: query required: false schema: type: string description: Sequence number of the ledger. By default, the latest ledger. example: '100000' description: Sequence number of the ledger. By default, the latest ledger. - name: contracts in: query required: false schema: type: string description: Comma-separated values of contract IDs to query for events. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Comma-separated values of contract IDs to query for events. - name: topics1 in: query required: false schema: type: string description: Topic the event was emitted with. example: AAAADgAAAAxTb3Jvc3dhcFBhaXI%3D%2CAAAADwAAAARzeW5j description: Topic the event was emitted with. - name: topics2 in: query required: false schema: type: string description: Topic the event was emitted with. example: AAAADgAAAAxTb3Jvc3dhcFBhaXI%3D%2CAAAADwAAAARzeW5j description: Topic the event was emitted with. - name: topics3 in: query required: false schema: type: string description: Topic the event was emitted with. example: AAAADgAAAAxTb3Jvc3dhcFBhaXI%3D%2CAAAADwAAAARzeW5j description: Topic the event was emitted with. - name: topics4 in: query required: false schema: type: string description: Topic the event was emitted with. example: AAAADgAAAAxTb3Jvc3dhcFBhaXI%3D%2CAAAADwAAAARzeW5j description: Topic the event was emitted with. - name: topics5 in: query required: false schema: type: string description: Topic the event was emitted with. example: AAAADgAAAAxTb3Jvc3dhcFBhaXI%3D%2CAAAADwAAAARzeW5j description: Topic the event was emitted with. - name: type in: query required: false schema: type: string description: Comma-separated list of event types (system, contract, or diagnostic). If omitted, all types are included. enum: - Approval - Transfer example: Approval description: Comma-separated list of event types (system, contract, or diagnostic). If omitted, all types are included. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: events: - type: diagnostic ledger: 52309741 ledgerClosedAt: 1719473442000 id: 0224668626857975808-0000000000 topic: - - type: ScVal value: '[scvSymbol]' nodes: - type: sym value: fn_call - - type: ScVal value: '[scvBytes]' nodes: - type: bytes value: Array[32] nodes: - type: '[0]' value: '221' - type: '[1]' value: '29' - type: '[2]' value: '192' - type: '[3]' value: '122' - type: '[4]' value: '253' - type: '[5]' value: '128' - type: '[6]' value: '2' - type: '[7]' value: '242' - type: '[8]' value: '106' - type: '[9]' value: '227' - type: '[10]' value: '29' - type: '[11]' value: '189' - type: '[12]' value: '204' - type: '[13]' value: '208' - type: '[14]' value: '188' - type: '[15]' value: '125' - type: '[16]' value: '23' - type: '[17]' value: '180' - type: '[18]' value: '13' - type: '[19]' value: '109' - type: '[20]' value: '86' - type: '[21]' value: '236' - type: '[22]' value: '107' - type: '[23]' value: '255' - type: '[24]' value: '182' - type: '[25]' value: '175' - type: '[26]' value: '90' - type: '[27]' value: '251' - type: '[28]' value: '53' - type: '[29]' value: '79' - type: '[30]' value: '175' - type: '[31]' value: '235' - - type: ScVal value: '[scvSymbol]' nodes: - type: sym value: add_prices value: - type: ScVal value: '[scvVec]' nodes: - type: vec value: Array[4] nodes: - type: '[0]' value: '[scvMap]' nodes: - asset: - Other - EURC asset_u32: 8 price: '83200000000000000' source: 0 timestamp: '1719473400' - type: '[1]' value: '[scvMap]' nodes: - asset: - Other - IDR asset_u32: 33 price: '1474740500000000000000' source: 0 timestamp: '1719473400' - type: '[2]' value: '[scvMap]' nodes: - asset: - Other - ARS asset_u32: 31 price: '81806632600000000000' source: 0 timestamp: '1719473400' - type: '[3]' value: '[scvMap]' nodes: - asset: - Other - NGN asset_u32: 32 price: '137763976000000000000' source: 0 timestamp: '1719473400' inSuccessfulContractCall: true contract: '' transactionHash: f6cb1d2c9e6e2a0e2c3370aa678957de39621e2573e7f760d437a6ecbd26ce08 x-bd-cu: '10' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getgasfees: get: tags: - Chain summary: Get Gas Fees description: 'Retrieves detailed gas fee metrics for a specified user address over a defined block range, including total fees spent and current gas prices. > πŸ’‘ **Compute Unit Value:** `70` (Fixed)' operationId: chainGetgasfees parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: address in: query required: true schema: type: string description: Public address of the user. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the user. - name: startBlock in: query required: false schema: type: string description: Starting block of the range. By default, it is the latest block minus 100. example: '100000' description: Starting block of the range. By default, it is the latest block minus 100. - name: endBlock in: query required: false schema: type: string description: Last block of the range. By default, it is the latest block. example: '100010' description: Last block of the range. By default, it is the latest block. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: totalFeesSpent: '0' totalCurrentPrice: '0' totalAdjustedPrice: '0' transactionList: '0x02c33d16d164f1e0bb653e913bb7ff99bea9aaaa68ea505a4c87a4ad1174f245': '21000' '0x09d0f07f6623e4819e5f428f766d74e51718e044421ecd9edeca8fb47e949f45': '22000' x-bd-cu: '70' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getgasprice: get: tags: - Chain summary: Get Gas Price description: 'Fetches the current gas price from the specified blockchain network. > πŸ’‘ **Compute Unit Value:** `25` (Fixed)' operationId: chainGetgasprice parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '25' - '97' - '43114' - '338' - '1200' - '1201' - '43113' - '42161' - '10' - '11155420' - '4002' - '324' - '300' - '101' - '102' - '103' - cosmoshub-4 - '1600' - '1601' - '1700' - '1701' - osmosis-1 - osmo-test-5 - '1800' - '137' - '421614' - '80002' - '250' - '8453' - '84532' - '1100' - '1101' - '1400' - '1401' - '1500' - '1501' - '17000' - '5000' - '5003' - '8217' - '1001' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: gasPrice: '16858407956' x-bd-cu: '25' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/gethistoricalrewards: get: tags: - Chain summary: Get Historical Rewards description: 'Retrieves historical staking reward data for specified addresses, including transaction hashes, unique IDs (UTXO or node), and the staked amount with start/end timestamps. The response also provides asset details (identifier, name, symbol, etc.), reward amounts, and reward types (e.g., DELEGATOR), supporting thorough audits and portfolio integrations. > πŸ’‘ **Compute Unit Value:** `50` (Fixed)' operationId: chainGethistoricalrewards parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '43115' example: '43115' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: address in: query required: true schema: type: string description: Comma-separated value of user addresses. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Comma-separated value of user addresses. - name: pageToken in: query required: false schema: type: string description: Token to fetch the next page of data, found at the end of the response. example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYWdlIjoxLCJjb250cmFjdEFkZHJlc3MiOiIweGZhZThlNjRjZGRlNzM1NTBlN2Q3ZjA0Njk1NTdhMzNhNDE3YjI4NjgiLCJjb250cmFjdFR5cGUiOiJlcmMyMCIsImFwcHJvdmVyQWRkcmVzcyI6IjB4NjVhOGYwN2JkOWE4NTk4ZTFiNWI2YzBhODhmNDc3OWRiYzA3NzY3NSIsInNwZW5kZXJBZGRyZXNzIjoiMHgxMTExMTExMjU0ZmI2YzQ0YmFjMGJlZDI4NTRlNzZmOTA2NDMwOTdkIiwiaWF0IjoxNzMzMzkzODE2fQ.y7FANxpXgtdgk83CIqPHHk2jutj1NZrueTu4XR39jnk description: Token to fetch the next page of data, found at the end of the response. - name: sortOrder in: query required: false schema: type: string description: The sorting order for transactions. Either 'asc' or 'desc'. enum: - desc - asc example: desc description: The sorting order for transactions. Either 'asc' or 'desc'. - name: currency in: query required: false schema: type: string description: A currency symbol to convert the amount into, such as ['USD', 'EUR']. This parameter is optional and can be used to get the value in single fiat currency. example: INR description: A currency symbol to convert the amount into, such as ['USD', 'EUR']. This parameter is optional and can be used to get the value in single fiat currency. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: historicalRewards: - addresses: - avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg txHash: 2mTm1C6vWjZimKUds7UwocLEyHSA8AMpx6uUbEf4ApuvxaDdjU utxoId: zkB6uffuTxnYTVfpEYTaj6VeiqBK5Pd38hTroz99q3xW4mBWn outputIndex: 5 amountStaked: '20250000000000' nodeId: NodeID-Le5rVEBBPdgYEcEJpvYeKo36hRs75WE5S startTimestamp: 1608624860 endTimestamp: 1615247434 reward: assetId: FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z name: Avalanche symbol: AVAX denomination: 9 type: secp256k1 amount: '20573884941' prices: cny: - FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z: '172.60229554545396' rewardType: VALIDATOR_FEE rewardTxHash: eD3oKFuC6rScRRfGdmwqtXxYz72Qjin8Pm5CT9jt1o8Zm7WLg x-bd-cu: '50' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getlatestledger: get: tags: - Chain summary: Get Latest Ledger description: 'Fetches the most recent finalized block from the blockchain and returns comprehensive real-time information about its state. The endpoint provides key block metadataβ€”including the block number, hash, parent hash, timestamp, and transaction detailsβ€”allowing users and developers to monitor current network activity and verify the latest ledger status. > πŸ’‘ **Compute Unit Value:** `85` (Fixed)' operationId: chainGetlatestledger parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1600' - '1601' - '1500' - '1501' example: '1600' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: difficulty: null gasLimit: null gasUsed: null hash: 2f93b5fefbe6bb223a9bd1575d80a93238cbe1bbcc8df48be91f570f750f06bd miner: null nonce: null number: 52310121 parentHash: 4d55c9f60fa64de463d3530e4348ad6d81c3c6cb5a00e7e6ea73612c60e9a081 size: null timestamp: 1719475633 totalDifficulty: null transactions: - hash: 3d00f400fbf255d49231991da34f9d8833b3d68d5acb9e223134c457ec9ed29f transactionStatus: true blockNumber: '52310121' timestamp: '1719475633000' from: GAGX2SFPL6PGA5LEIILPEJMNBXHBKVUB2O3QHKWQCD4VQ7FMOHWEBDGS to: null value: null transactionFees: '100' gas: '250005' gasPrice: '100' input: null nonce: 218580222952354850 network: null transactionEnvelop: - type: TransactionEnvelope value: '[envelopeTypeTx]' nodes: - type: v1 nodes: - type: tx nodes: - type: sourceAccount value: '[keyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GAGX2SFPL6PGA5LEIILPEJMNBXHBKVUB2O3QHKWQCD4VQ7FMOHWEBDGS - type: fee value: '250005' - type: seqNum value: '218580222952354861' - type: cond value: '[precondTime]' nodes: - type: timeBounds nodes: - type: minTime value: '0' - type: maxTime value: '1719475657' - type: memo value: '[memoNone]' - type: operations value: Array[1] nodes: - type: '[0]' nodes: - type: sourceAccount value: '[keyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: body value: '[manageBuyOffer]' nodes: - type: manageBuyOfferOp nodes: - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: GUARDIAN - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GB2Z42DRDOLLRLH62JFM3EC35DHD2KPETP6KKMX7EYKLFZEUXGGXG7L6 - type: buyAmount value: '1472821238256' - type: price nodes: - type: n value: '1371' - type: d value: '1999999' - type: offerId value: '1571218972' - type: ext value: '[undefined]' - type: signatures value: Array[2] nodes: - type: '[0]' nodes: - type: hint value: type: code value: G______________________________________________MGSWN____ - type: signature value: type: code raw: type: Buffer data: - 75 - 136 - 113 - 98 - 217 - 226 - 235 - 255 - 135 - 229 - 178 - 163 - 221 - 130 - 186 - 237 - 67 - 176 - 106 - 246 - 53 - 104 - 37 - 117 - 53 - 253 - 62 - 63 - 235 - 30 - 141 - 172 - 200 - 84 - 27 - 237 - 111 - 221 - 204 - 168 - 159 - 66 - 55 - 94 - 32 - 117 - 206 - 57 - 219 - 107 - 84 - 79 - 78 - 44 - 6 - 243 - 166 - 84 - 105 - 196 - 45 - 95 - 76 - 14 value: S4hxYtni6/+H5bKj3YK67UOwavY1aCV1Nf0+P+sejazIVBvtb93MqJ9CN14gdc4522tUT04sBvOmVGnELV9MDg== - type: '[1]' nodes: - type: hint value: type: code value: G______________________________________________MOHWE____ - type: signature value: type: code raw: type: Buffer data: - 46 - 178 - 217 - 217 - 225 - 214 - 92 - 21 - 68 - 170 - 0 - 160 - 157 - 123 - 84 - 158 - 209 - 16 - 157 - 25 - 251 - 0 - 218 - 50 - 205 - 6 - 37 - 237 - 101 - 27 - 15 - 53 - 184 - 155 - 29 - 15 - 59 - 87 - 221 - 211 - 245 - 128 - 163 - 95 - 165 - 230 - 81 - 169 - 240 - 65 - 82 - 72 - 249 - 187 - 136 - 127 - 102 - 112 - 93 - 47 - 19 - 214 - 175 - 12 value: LrLZ2eHWXBVEqgCgnXtUntEQnRn7ANoyzQYl7WUbDzW4mx0PO1fd0/WAo1+l5lGp8EFSSPm7iH9mcF0vE9avDA== transactionResult: - type: TransactionResult nodes: - type: feeCharged value: '100' - type: result value: '[txSuccess]' nodes: - type: results value: Array[1] nodes: - type: '[0]' value: '[opInner]' nodes: - type: tr value: '[manageBuyOffer]' nodes: - type: manageBuyOfferResult value: '[manageBuyOfferSuccess]' nodes: - type: success nodes: - type: offersClaimed value: Array[0] nodes: [] - type: offer value: '[manageOfferUpdated]' nodes: - type: offer nodes: - type: sellerId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: offerId value: '1571218972' - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: GUARDIAN - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GB2Z42DRDOLLRLH62JFM3EC35DHD2KPETP6KKMX7EYKLFZEUXGGXG7L6 - type: amount value: type: amount value: parsed: '100.9619463' raw: '1009619463' - type: price nodes: - type: n value: '1999999' - type: d value: '1371' - type: flags value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' transactionMeta: - type: TransactionMeta value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: txChangesBefore value: Array[2] nodes: - type: '[0]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '52310121' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GAGX2SFPL6PGA5LEIILPEJMNBXHBKVUB2O3QHKWQCD4VQ7FMOHWEBDGS - type: balance value: '29707678' - type: seqNum value: '218580222952354860' - type: numSubEntries value: '0' - type: inflationDest value: null - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: [] value: '' - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '0' - type: selling value: '0' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '52309824' - type: seqTime value: '1719473923' - type: ext value: '[undefined]' - type: '[1]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '52310121' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GAGX2SFPL6PGA5LEIILPEJMNBXHBKVUB2O3QHKWQCD4VQ7FMOHWEBDGS - type: balance value: '29707678' - type: seqNum value: '218580222952354861' - type: numSubEntries value: '0' - type: inflationDest value: null - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: [] value: '' - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '0' - type: selling value: '0' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '52310121' - type: seqTime value: '1719475633' - type: ext value: '[undefined]' - type: operations value: Array[1] nodes: - type: '[0]' nodes: - type: changes value: Array[6] nodes: - type: '[0]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '52310113' - type: data value: '[offer]' nodes: - type: offer nodes: - type: sellerId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: offerId value: '1571218972' - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: GUARDIAN - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GB2Z42DRDOLLRLH62JFM3EC35DHD2KPETP6KKMX7EYKLFZEUXGGXG7L6 - type: amount value: type: amount value: parsed: '100.9619463' raw: '1009619463' - type: price nodes: - type: n value: '1449' - type: d value: '1' - type: flags value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: '[1]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '52310121' - type: data value: '[offer]' nodes: - type: offer nodes: - type: sellerId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: offerId value: '1571218972' - type: selling value: '[assetTypeNative]' - type: buying value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: GUARDIAN - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GB2Z42DRDOLLRLH62JFM3EC35DHD2KPETP6KKMX7EYKLFZEUXGGXG7L6 - type: amount value: type: amount value: parsed: '100.9619463' raw: '1009619463' - type: price nodes: - type: n value: '1999999' - type: d value: '1371' - type: flags value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: '[2]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '52310113' - type: data value: '[trustline]' nodes: - type: trustLine nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: asset value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: GUARDIAN - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GB2Z42DRDOLLRLH62JFM3EC35DHD2KPETP6KKMX7EYKLFZEUXGGXG7L6 - type: balance value: '1993' - type: limit value: type: amount value: parsed: '922337203685.4775807' raw: '9223372036854775807' - type: flags value: '1' - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '39590212968484990' - type: selling value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: '[3]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '52310121' - type: data value: '[trustline]' nodes: - type: trustLine nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: asset value: '[assetTypeCreditAlphanum12]' nodes: - type: alphaNum12 nodes: - type: assetCode value: GUARDIAN - type: issuer value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GB2Z42DRDOLLRLH62JFM3EC35DHD2KPETP6KKMX7EYKLFZEUXGGXG7L6 - type: balance value: '1993' - type: limit value: type: amount value: parsed: '922337203685.4775807' raw: '9223372036854775807' - type: flags value: '1' - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '39590222851120433' - type: selling value: '0' - type: ext value: '[undefined]' - type: ext value: '[undefined]' - type: '[4]' value: '[ledgerEntryState]' nodes: - type: state nodes: - type: lastModifiedLedgerSeq value: '52310120' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: balance value: '221649096276' - type: seqNum value: '218420261190369432' - type: numSubEntries value: '592' - type: inflationDest value: null - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: [] value: '' - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '94097561989' - type: selling value: '182855862673' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '52306944' - type: seqTime value: '1719457483' - type: ext value: '[undefined]' - type: '[5]' value: '[ledgerEntryUpdated]' nodes: - type: updated nodes: - type: lastModifiedLedgerSeq value: '52310121' - type: data value: '[account]' nodes: - type: account nodes: - type: accountId value: '[publicKeyTypeEd25519]' nodes: - type: ed25519 value: type: code value: GBZJPIK67VBXERCP6JUX2NV7M3QWH4RR3S5DPIVRDBQHPRQMGSWNRLT5 - type: balance value: '221649096276' - type: seqNum value: '218420261190369432' - type: numSubEntries value: '592' - type: inflationDest value: null - type: flags value: '0' - type: homeDomain value: type: code raw: type: Buffer data: [] value: '' - type: thresholds value: type: code raw: type: Buffer data: - 1 - 0 - 0 - 0 value: AQAAAA== - type: signers value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v1 nodes: - type: liabilities nodes: - type: buying value: '94097561989' - type: selling value: '182855862673' - type: ext value: '[undefined]' nodes: - type: v2 nodes: - type: numSponsored value: '0' - type: numSponsoring value: '0' - type: signerSponsoringIDs value: Array[0] nodes: [] - type: ext value: '[undefined]' nodes: - type: v3 nodes: - type: ext value: '[undefined]' - type: seqLedger value: '52306944' - type: seqTime value: '1719457483' - type: ext value: '[undefined]' - type: txChangesAfter value: Array[0] nodes: [] - type: sorobanMeta value: null transactionsRoot: null uncles: null x-bd-cu: '85' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getstakepositions: get: tags: - Chain summary: Get Stake Positions description: 'Retrieves details about staked native assets for a specified address, including the total amount staked across all validators and a breakdown of each position. For every stake, it provides the staked amount, staker/withdrawer addresses, validator ID, rent-exempt reserve, and activation/deactivation epochs for thorough monitoring and auditing. > πŸ’‘ **Compute Unit Value:** `30` (Fixed)' operationId: chainGetstakepositions parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '900' - '901' - '1100' - '1200' example: '900' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: address in: query required: true schema: type: string description: Public address of the user. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the user. - name: validatorAddress in: query required: false schema: type: string description: Address of the validator associated with the staked position. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Address of the validator associated with the staked position. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: totalStake: '721886' stakePositions: - stake: '721886' staker: FbXAffyRzZFSM8zRY7yWmCk99pGCUWGS5eoSnywYLhhJ withdrawer: FbXAffyRzZFSM8zRY7yWmCk99pGCUWGS5eoSnywYLhhJ validator: J2nUHEAgZFRyuJbFjdqPrAa9gyWDuc7hErtDQHPhsYRp rentExemptReserve: '2282880' activationEpoch: '694' deactivationEpoch: '18446744073709551615' x-bd-cu: '30' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getstorage: get: tags: - Chain summary: Get Storage description: 'Accesses and returns detailed storage data for a specified smart contract, including its state variables, code, and ledger entries. This endpoint leverages base64-encoded keys to accurately retrieve binary data from the contract’s storage, ensuring that complex on-chain state information is properly encoded and accessible. > πŸ’‘ **Compute Unit Value:** `30` (Fixed)' operationId: chainGetstorage parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '25' - '11155111' - '56' - '97' - '43114' - '338' - '43113' - '42161' - '421614' - '10' - '11155420' - '4002' - '324' - '300' - '101' - '102' - '103' - '137' - '80002' - '250' - '8453' - '84532' - '400' - '401' - '1500' - '1501' - '17000' - '5000' - '5003' - '8217' - '1001' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: address in: query required: true schema: type: string description: Contract address whose storage data is needed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Contract address whose storage data is needed. - name: index in: query required: false schema: type: string description: Slot index on the smart contract. Defaults to 0 if not specified. example: '0' description: Slot index on the smart contract. Defaults to 0 if not specified. - name: keys in: query required: true schema: type: string description: The key of the ledger entry, serialized in a base64 string. example: AAAABgAAAAFV3d0a2VhBZ description: The key of the ledger entry, serialized in a base64 string. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: data: '0x000000000000000000000001c6f53a31de0ed6753f021224905772c706ee71ea' x-bd-cu: '30' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getsuibalance: get: tags: - Chain summary: Get Sui Balance description: 'Retrieves the current or historical token balance for a specified SUI blockchain address, with the option to specify a block number for precise point-in-time analysis. > πŸ’‘ **Compute Unit Value:** `185` (Fixed)' operationId: chainGetsuibalance parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '101' - '102' - '103' example: '101' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: blockNumber in: query required: false schema: type: string description: The block number for which the balance is to be retrieved. Defaults to the latest block if not specified. example: '100000' description: The block number for which the balance is to be retrieved. Defaults to the latest block if not specified. - name: address in: query required: true schema: type: string description: The public address for which the balance is to be retrieved. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: The public address for which the balance is to be retrieved. - name: tokenAddress in: query required: false schema: type: string description: The address of the token to retrieve the balance for. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: The address of the token to retrieve the balance for. - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: balance: '444322190134' prices: usd: - 0x2::sui::SUI: '3.7069046350777892' x-bd-cu: '185' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/gettokenaddress: get: tags: - Chain summary: Get Token Address description: 'Maps token symbols to their corresponding smart contract addresses on specified blockchain networks, enabling developers to verify and interact with tokens in decentralized applications. The response returns the token’s address in hexadecimal format, crucial for executing transactions, integrating with smart contracts, and maintaining data integrity. > πŸ’‘ **Compute Unit Value:** `5` (Fixed)' operationId: chainGettokenaddress parameters: - name: tokenSymbol in: query required: true schema: type: string description: Symbol of the token to retrieve the address for. example: USDT description: Symbol of the token to retrieve the address for. - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '56' - '43114' - '137' - '25' - '42161' - '250' - '10' - '900' - '1000' - '1200' - '1300' - '101' - '1400' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: tokenAddress: '0x2b2c81e08f1af8835a78bb2a90ae924ace0ea4be' x-bd-cu: '5' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/gettransaction: get: tags: - Chain summary: Get Transaction description: 'Retrieves comprehensive details for a specific blockchain transaction (hash, block number, sender/recipient, status, fee/gas metrics). Also provides the full encoded input, signature components, and contract event logs if applicable, enabling thorough transaction verification, troubleshooting, and on-chain analysis. > πŸ’‘ **Compute Unit Value:** `30` (Fixed)' operationId: chainGettransaction parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '25' - '97' - '43114' - '338' - '900' - '901' - '1000' - '1002' - '1200' - '1201' - '43113' - '42161' - '421614' - '10' - '11155420' - '4002' - '324' - '300' - '101' - '102' - '103' - '1300' - '1301' - cosmoshub-4 - '1600' - '1601' - '1700' - '1701' - osmosis-1 - osmo-test-5 - '1800' - '1801' - '137' - '80002' - '250' - '8453' - '84532' - '1400' - '1401' - '400' - '401' - '1100' - '1101' - '1500' - '1501' - '17000' - '8217' - '1001' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: transactionHash in: query required: true schema: type: string description: The unique identifier (hash) of the blockchain transaction. example: '0x7a69b73a9617b13663c5db08b0e371866b7bbf2b49866e61c2fe8303e07f7094' description: The unique identifier (hash) of the blockchain transaction. - name: address in: query required: true schema: type: string description: Sender's public address. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Sender's public address. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '1' hash: '0x00ac1582db64ee60e1be6b653c42ca5d199d749c2e0e3990f3ab00433fcdc1d6' transactionStatus: true blockNumber: '16525031' timestamp: null from: '0x6887246668a3b87F54DeB3b94Ba47a6f63F32985' to: '0x5E4e65926BA27467555EB562121fac00D24E9dD2' value: '0' transactionFees: '4099876632748185' gas: '333435' gasPrice: '14871598501' input: '0xd0f89344000441a255000039000007000000000000000000000000000000000000060000000063d8b5850000fc26b00000130000000063d8b5940000fc26b000000c0000000063d8b5940000fc26b20000090000000063d8b5a30000fc26b20000060000000063d8b5a30000fc26b30000050000000063d8b5b20000fc26b3789cec7d7754154bf2ffdc4b4e12248364c94972ce92339211908c20194114b90449220a5e1105611024a3e4a004014550b22220224816c9820409bf23fadec2aedcd1e7eefbeeef9cad3f14e633dd5d5ddd5d555d5dd300308275186e08fa7628a1825c28bed21364483ef7988ca0939449ade65bb99b96deb9bacba688ca0c20f77614b087c2178715f059b34d361924448e0f528b845fa51c07fe2291c56199e49d6912de8120a87ac440b743bde339c6bc73897847b3bd893141be61eb43d24187139d4eebb97a355ec606833c2412522363c424c538c2b374f89e3f8d95ab1d9590297834ea7d34e6122700c0f2d76139e6bbd2807dec45f22a2c912a07d9054d446cdde6faf47070c3dbc71e510553d28aad6442cd8cf8f1bdbf351d4b1abec41c63ea68debf6c9f9ab99577ce4b1c5569cc1b8315bf52ff0fc81d027f0c81cb0fc1d49fad106bcc3f6dbf8ee7a915483633359cff59cbdeb8861d77fb5ead278545e9479601a28a19585e87531adbbacb76bd78b6791413cbc5184d8c11cf18465a88064441c6214bd691cf69679f4dbe6b54f25e21e07d733ad1f768355a744d30dd80834b07a89aa25337cca02e12fca01ea465e34eece9d70e55c7e131b56934b9a8de1fa00100396b59725f472ba43416195c42b8c2d8b55d7ef19dc080d7991b9eda8598a2884aa5bbdca5f67bdbbd15bbe896414c84fc6839c9d7d0b43c316577d60182559828887535eb4ce413d98e0215d36ab85055668ec0e8e79b6bcfa944ef1c93ab721cba085ee841e799cf73f62f0fa93fee5a267337a0cdb661dcf7dc5dd971fec8e106374e00e6be0e730d8559a585d2f8c9856a6ac8fd78ad55c1d0cb8bca1bf7368f0cc9dd6a7f5d79cbc65dd9921eeca021a5ecbd09c1f15f25259653940cd3e807e23ce53e975c00d53bf5a82ab1ed2b4b866ac8c3decbc3ef94ebb18370315087fd12bfb100a30303272972cdddb3ac685ec8edb2a2de00a6663ad17bc1204150168b54faceb4c8949164d2214be3e0553912ec8afa918fb802f2be9ad47c84d40030bbf631142bec6228890e22148d400e09b60a0ebaab52bdf266b2313ec7b9cd7ca8b129085119a6bc26a90bc1ae1b0fdbb86ead3d354240f94da4e3717d439f0b31cd3197baf0b9e8f3bdb9baf3a1c683145bb22d8a225310dba197137f4de03e9130b6f990da0b7b864be2f01a7b0445ab18189d4269fa4657c9ddb1449099c5f7ca672917d7c3422305bd574779952c37349a401e6bcced65c1d5a001bc68aeb36e2bf8816519750db91a2baa7a99318f877a0e0130ad75987a8818f6aefa1a7bfff800653ed6f61ea77c2f7311c4f9ce38610fdf2a4ce64dd20bd39835dc2d2040ad8ac13ed4f8ddca1f4a01e64d284292984d13d4761d425e9004652c44c1d6c05e1db2e4097655469a731233b819f9be77b7b91cedc99315aa9b3d1aeb4b403a524e7de51bec69c63e5b1c3e45a5b9b877f331246fd064f0beec0aa3cc00e60174c27574fc50f87dfd5d8162a53120df476bdf5aa05ae7eee5c5bf80617ae76c767c421ba20a2da305e18b529f030080400dc3ad51e3685fff81fdaa94fe41b0bdfa7ee9edabb3de95292a8e6f57c346f21aaf00b03a13383a06160c1b80e3a061fea50620f807705181685b4efea8f1e70c28f16db94594f84eedbbdfc3eb3650e3cd6f50e1e8f07ad438fa60334a9c9a570015fef5151ba29235fa499cb192c54ceb901dc297cd9d8e9d619629378d1f30dabfcc0fdac93b7fa6fe9979766bf1d6e5f64d2ffbe222bce1961c981936f9dc6458ffb806b27cca133b48d8488a3139284afe51b32cef4027b329e6991db1b62ceb4424e90c6f06a91ee16d256b81440af11075ec29b8dbfadc46da2865383c238467dbe102147f4c8eea3e6530eb8249b64059b2292acb9c35e1b825b41c63b6a9e6371809ce3862512fed3462b3a331cacae548549c54b70ab8b7148bb436e9a3b01e568b3ca574d093947c86511b7a7b896b444cacd956bc193631a6381b1270144f3f4f47f618d62ba1f6fed1ead4a81d41b5b78951f1176f9c37b0ce361c61a441f29c8259898b82e11aaf2c4879150d38af25ec08de15ad3be56575bdd564fbe3cb42664eeb4b313d20da486b1337df8aea8c568dbbf100cb44e4b62edbb1f8728e267d5abdbea467350050b2561442d4b7ab0fe05827907852d21d9a774a928209f9dd0cdb48eff7d427e345609c905ee5780c542af9489151a77b5b0eb13da9de602dd29310b5e8b1bbdf4e1b7d4f691acfbfd39ec231a13c9086464ff9153f31f884df07b793e2f2d8799e0c695acce433da21937176b80cfea2209babb9376ffc134d4df32297de6ba4ba156e0f3ad960b9d7b275308bd905f969419189763b79daa8a4f00cf5bbd647d37cbef4ab8ce86d7face66a6a872fba0c1cfad3f3b8bb6b08ffc39e07948e3a08273e8ce838b4867f60393cdb7a9e4b9e8f3c51ea19dbbeb21488f67fc2f3d80c2f79ad9bb206b4b126bb771cd10d597ec940dfba341b88779fa2832e9ec911c4f3b8e41596485ed1e6a65eb719faca45834ebfd16527f393e787025a39bcbae0bfcd2f1503a563e9c6ec7cea65f806748c7336b8f334b74d2df55a5d2b40b91d4c8546c956900d074739a1992229e884ca17768dd755ee168f5b691687433ca5b324920e535e0160aeeb30679ddd298df9901c994c72fdfa350c0eaa07c70c976996c9095f3a9c76ff3a350866279eec6d3bc8e2ac6635e9ba435264e8853435fce7148de4587bf11877f6a5c5f4e620c2eb9713ba7d19fa7de99afba1ba7330847ee15092ef2794a5b5870e2c2f639793ed3013b1cf84f41f27a53218fac8fea2704384cca52fc03381ef14aaea6dfb2ac6c440091eb36046b03ff0505209dae7c974161a5e21b4f628be48e1209331fa37362920ad9de43bdee9cbc1d7a54ee79d50a8b9a26b369726cb259a953e1593d6d1853dfd6d87a9f96d87496287ecf3c89210e8ac6cd4eca0b34efc70d7d9ef85b5f9d71da6c18bc2b1bdcd735719a38d149fed7b49923786a33fcbc19a4efe42d9d5d9c3dbd9cedecad7dbdecbcadbd6ddcbd9cd11a58cf611844702b943841dbc4df82992c716b989b74339c115733dd121406745956833d87a768ee0225da6da71e9774986f0ee339f448cfbe48d924d8ed49ea9ee5d5b220d105c38af78bbfdb98cbc1575010d44036260a4b9e59dcd54efa27ca58ad5f4b1da63a7d9b4b368b95997e0c96de12b63eb95a01bc6fc6a96f58a6a7fd966ca7c3f15b9dccb1e97f7c2ba87269e138e1c7947b203c0dcd6612e21a1ef51fbd43f509d7c54c121332794e36e64803636398ad40acaccdebf27af030953dad084fbead903712e238c5b00729e21e577232cc71c44c4c545854e898bfe18170553447c487cbc882f49f1214f2d2c7901297aa4a6786ead2503be7273844cb77840b9eb2f56f0a864a79a097544afeb0d3c7b9ee7e8f146bc4d32ffe21cf35d4356beef112998c5b788148bf0cf46a462424f6ea46b734e50f84e1d1a49e1f6d23c3df2e8af08f32b1dcfb8ba612e8e2ff9bbf2120553b32af1a22826bc1d3f947ada6fe9de32ba67b676942ae59eaf09d191601b7e1cf04c8a415dbfc5c2f829e5986b3d0522a70555e7ca369c3cc596de51e475383c0effd378a78732acfcc78df75f16d8a6b8f9d651cd03713e1890c0f9f0da8d425495d8f69581500d411b6f95e23ce15bcfefeb816c1789d799e7f9c6ca902d9a1604879a8d0aebf09e642f80a61ecfb8826347ef37882f011633a5c9e6eca58d999f33b6a21459734e5b015a0050b096170a5375fce6e5a92d207f64ea10954a3918c9fb661807e5a5ae16665b79b7c5277d8f83ed672b389b5950768650414e14d488d3f5d678d5cfff49a8f4d6d31aab365b5e17b93b79ef6fd0dcc37c6de689bc0a72c8b861b5cdb779fbb41e71c24cbb8cfd252a85f0cb6445fe34c9511b1eceaafb0090bf961b0213fdc62e2c0959705e939c0d6bb8b8ecf3d6c0cb358368ab8704d6884a2595c9f97dec4019f07f215838280a3e6276b09105b2c48388a85ff5f2b1d4912d0c254f979985a69fcebd1d15dde109aa73b063cb5149e75e0e3c6d19e80f6fbae85e594823d1de45721889e504b3bbf7475426e8df119599193248b36ed3134b40d3af478b9a8b10a88af43c67c5e2d2211d18c8e74ecc09519ed407bbf5e66b4674cff15636245ffd4c90167561827acf156eab571a746f94fa54c4c08f001a0de9797946c7f8945807fc58da12359a1dc7ea1e297a42876b3d7dab64a0de168353fe2a1d1c37902af94aeee86b35841686f9f2e58d2a22b655494d45d23f1770462829cb7f6ddc4fde3ab9d8288ef2409cebb3d1d9abebd16adca82ab1ed2b4b876a087a01f3f8804a3df7d59ed6286aa85262decf6129fba26f196c7adf83c4f37252401026a8e9f1f65cc3a444bca01e7ccb7cc825c8b7465fdb2b8291e0a201c37582073933dfe3366887affe19b789dea46d62aaa5edb23b7eaee5d98ceca3cc1a78f7df16b781c1fe5d711b0b7ec1d469dc61648246c1f44987f846002d0c171d0e4343c7c1c0c2fe6b619bdf8bdb005754ba50e31ac3bf871b27a2c61dc550e3ee71a871af85dfc3bdcfa1c67de0287100401fcdc4245fc9b3291f11b08895351bbac4a8dd9deec8e826a0139514b3ddb430932ff1def643cf8513e93dbeb802a25cea2c7c1f565ceb2f0eb79ee7e57cc1da23e43d2d0d189e723bbd46375da94b8171b9a1f390df338161e93adc90cb47b9c7ebad41ac20e9369f428b54f6b6a2d2e9082b728ff11d411f0774a3d5bcc6d94b7e50fc9192770d2a4a876109362d27d97d227bf2583122adcaa4b695c856b22d99870f347f22b238f09c7b92ccbf6afe4e1a9dc7fc30b96fa059c6b823f31383d29092acc3d6701b9b888e96622bee575326c9fa99af3159cc850aa40274a6d0222b041136455dd8d308b0c9db2192512eaeb88e88e914fe33d302209e8a97e19584da8418b8ba88b3da9243451a19fafecafcd4e1de3bd80b1ace86e5c16daf13f3853e192f8070759fa530b2a999668b1dec7a417f2d39e2a2ce786318f3c9cd66af8c3ef663dfbd7816de5d85f02b2af847a1710881fd458291bed8c493cb8e840e6da3aac5b6afecf5ef72220afa1950cac7bf9cc52a11497e193692f1e88c2b8d3186c85bf12b5377cf9c54110f00f5ecdff122d2df613dd1b233e0f2f33bce8fd481cd1fe29f93dc04966f28907603d8daebd81a21273a77051e400220c15a4d1c50d62aaee92ae5f4d344321312229a514415d6187c76990e821fd41a024047191906002c080d8705a1e1b1209c52ac7dfb644932ae8f8bd82d379484b95cbd9f66cda4f19d32465d1ea0dafbcbe1d139e73b54381fa2bc787dc50ceef3175dc47eba17ef850fde74af70df697899208d16b875df1c7d7cdf594a93ed31ab8075f42f8f08fd2d04d0cf6ca04de97becc57523de3a6f896381e4350a2508a6d50516522cb6bd38c1ac75f426b397ce298db337cc6bee6c070e36b3efc55b99793a72278435dfc7d518cb63d717a0add9edf3d2f83a448564e2dcee772d0ee6ae2999a49b9689edd33082b1affd83940591ddaa878b6fcad1a46264b7ecb320511451c61f6ab0ae6bf9c5ef3cee105fa48de1a2df8b23cc4ef56894878f07c1bb6612d2d4680396b1f7f59f5821654aac1586450a5fa2654cf478918f6bba6ffc08d8dceb55a8d639782ce8ee52857b772db3c62bef931fa6bd605c109ae667a2c7b1f4e31f9e4dbf233cb117af896f6a0863a3650aa0c35bf47757be6c90aab72facf5dc3da3f2858805bc4d320b43697e67f2aa6d7ec85e7c3e6a8037c345fdd5a8a0b2cb69551744ca29d97d1ec8cb4be7565f7469327550dd34b6cc9e3fbf6df37c9fcf35279c63711b5329ce80f47a5f09a25a2ea3b573dfc942fd1d137b1e97cd33e55f44e26633738304cf8d7dd88bdf171cf603193c27788478956e6f25de2824ef91df8b8bb08a241aa7e1b7ba36668ead34ac24aaeba5ee5b5f06ce4a8d59f41f2fd05938cc8976a5a9f6f57dde377f4f10a83ea647ba79c5f9e85d844974d6dcb7c2deb73ec46b3d3e48f3b05ba478d606796c9a1dcff23b4fba1777ef194bbb7e3cf5d95047938f700089acbd95db1a809aa850602c5ed99b28d62f9c2469bd14a57e88557e88320ee6135d87729782e965870a06389cdb51ea1f8264137e14306c58b10825ff4c69e672a87099110c94fd63cdee4789e32764a38201e0ca85525430c6b2721f2a9ca0600c65ffb4cfcba2c2b1241d4d51f27fc8e986092a1c3e8a87727cd1e53f2051e198be4beca87000afe2e0b0c9d70e9893a36eff18eb3594b8271cb587fc37901848b38975dd8168694d35629e98dca1c4e688f74919dcacc88d559c488fa14ca30720262755c138f5542cebeded98cbae84c1080f5ebaecb3a3855d312e0e8c5b47b6be7b708af1bfecc15d2cc89621cbefbcc2547029eded075eb3a3012fe2ff43fda45daaa1aee34cfc6ff0e03e369828bcab2eab26f6b0dae44712126c0a9407311388b7aceec0cb3e0c1a5681d8c79daa672b7a05eb9bbde2a2d664ee84f84bd9ccad2fd2542e1fc130641fb004603ceb30ce10187a28710c7f289aba10528fff73fbd1f3579356371e8365543526c10cb37288ca27f81f32a5ff6c983d94f2c0b01226a662fb1b79ec8378c65879fff53f166f7c2e3998ed71ff93d10000340376b67d65bdbb2f28ba3a7b78d87b8d089888229bfd66ce7cc116c3e7b92e2ce167cc72b422a1db8084f89cbcffe039cb7502ebf4a4e143444588d241fd78d778629dd7cacb4a2dd2ece6774f2c45bb5fc70c0b15589f223718c298b549afefaf6cb6f012034de6066b46edd06f9f4f7ee5caebdb7d224969908eb312d348db93613891a5401e342dadeab96bdd7d6af843f27a2ef5231abb33cbdbf50f52cf79452b4faed963597f9fa04273bf3c41ffc68302b4bcf00a9d934b78d4fff713d459750ee7639bc738706ef86e94aa7e20a66c607dfeb42f7d3e68d50b74edd481748a0dfcd696cdc19fe1c9dede3495e73f5ea5d794269d0c1ff9c2241b4110bf0cc062d7619743c470a04e66581a2d8b63f636feefdbd3c17393bd39b8e44dbd13518b338d14357e77f977050a4550032e0a9a18e31163073a51dce32517a3d5cbbcee9765556b22c42da12981658e97cd5c00e267f228c5b9f96edfed65baa6e1a4acfabcd8c0ff29265b131337a5a918a144ed9f81ce7ba182c781ffd640a7a632fe51bbed83d313056d8bc7fbcd9f8942a519644235041de89449ef6ebb7d67ba337ce553b8b1ae766e88967904e7c6c7ce2147d6f08b774f2a83528519cbca9fc939b1edb05d67e7621a48a355ba636c97e7f08fac0764d1b02f0340ebdaf3100cf5dd487a620202a9d89528df4759dcda247159a93d26703e9cbc3f16516967748b625f14cc6dd2b2c5500e1d9776e36903cbbb1b885ac36393077089732179ace38c055467bf76c7eec1a198dc4b9b669add29ed4f11a5d3db1c93a2273daf6b0d49b4dedcd0443881e4529bb9ce0f4354ca445b598e8e6932dbf849dfa6761944d37f246bcd914fff1a80c7acc3a33076d7337a6b0bb2d14ea134439f37e2f0ad36cf809a3e953ce2ed4844159c253f4117a5cb080000444800800acaa17499010006557f06be5a6b2dca37d06fa248d0663f7d46dc41f260bc719a85f5dd8f532c7f926cfbca8b7ea378d8a6bbbf3dca37fea97f1233625bb6f3271fbca7cc2d9f22dfb8d53da0f22f32843242bf62a44441daa1c6aa558caac2ad07f771f54a221d134a5ef7b69790b654abfa0bd7dc1ba807fd2d638da2e9cb31e39c6b1147c7975a617ac7e24b74d5b6386a97b22c1e9472ed26f1c8fe2dc9e582fe350be9ee8678af9696134887e96ecfe0e826ae10c5e3444e9b276a3c26370661d79e15f7f63733eab9b8c97c7008c1186655bddc2db111b06627dda37af758c09fba37f3bffa94b8bce779c0f0c1db2d3e2ce12bb4134cd722515562db5706b1e3fc19dd5b575ee84b8ed7e472823ce9b9d184d1d8b54cbc538519d552afd1139bfd8fc93c06cdd61c5fcb777c4992e1f62a8dbfcbdb7848c731570e7820b04096e27adad0be1200f2d6728223bf1dba0a6e23b5a653e2626ca2ee71bf727edea4ef75febc3c7737a25269e45111caed25eaac271c4a7aa533bd62a0bf326ec949f973f08164f5cde77257d5902c6779efd911f087c6afdd6788d43301c9eb678e9c705f346fc9e31297ced7b81cf79190d5251307c648dcff889ee90b3580a5bf8ea51342241e2a8d0384528ecf22898989494e9c250c2859b4139ccbe197677ddb750b5185397501aebf8f850567f5d614240d851b45d57cbc8ce76465b14a00448720e2adb07df10e857f7d61df41d64d3d999b66413958dc5e2d3c08a070e05a91edd35fe1af475b27da90c52762f0428ce9a2f6f8e38648e481271ee81c9dce9407e60fc2a2762ed40b1115141d90fcf28f6a50c3bf7118b84b1812281bdf0440acf1c7dd07bfd007c03f0060cba485eaf7276cd8683f7e15fe0880bb02305d3dcc348137e5240316559bb79fb082ad8c6642cceb2d3f1c39f4650a0728e37c205518b604b1638a4119d77df1bc5f9d9fb6435a4720eadf374050f3f307f80f1eed274592f7a6edf10ca7640deef0a472a9ab30e9c8472be61ec4cdd4a23d71eddbe6d7000b4b09f5befcd8bfb036a108d5e48401f0b31910e5a11278f68ded8f640b3fa8061c9d3b72043484abde73b6f5e3b04d7a8184e3579338d9c0aa23bd4eb4720cc377307e38547b273a1ffc80eec1ea01982500d802e0978a364cc4c5f56b87c79407db59c22b8755842b60b7892dddf748e6470d29fc484ffd48c702608d72ba6268c6f8cdfa1ad8a524714912cdf7616cb94aacd99e7baad32c7ca7a690fa08d124acc8f5b0b324c19cdd08e6b787056de194ec533172bacc9b1a896f8a0ae94545e3d358f7e03a1062def708821720a97d956bca7382eed597eab3fc914973beb195fb96d0cf777d57baafc743344e7cd69c58242721aaa698abdbf41b3eb68775ccdf92ee01b45fb38fb8dcf213053f6d7ed412ebb7819998b2f8a6ad7fba85e0778fb5ccbdfa620a9d673d85ecb01ee8df859368e04ff27674e6cd4ce7630a2619d5c9d1150720867ca62995e57355d7ae83a8f0b7647907997d7a11742d5e3a6d29edc3d2d0f33cb3e2493feaeee4f0616b51acf24eaa57a08c036bff76b84ae3394b5cb43ef8cb09bb09b0ebc2fde717f274631e5061e6e70130ae75187bd0f7605ee14f05f3e8b2b20f0ce6a1c7eeb85e9fa93e88e53f83796406c03f05f3be9d567d0fe6319fe567c21c0d0295d34dcf8e5b634b292d10841b324e355a02f3b7a38f9eead2682c48ea9de68de080e3ab46445d888eaf52d44e22e71936369399189e0cf6b1c7f3a68f5497e4e6500ea73badbe3117b1f9fcad18e86c78937496f8848e311f7a94847facc343ceb04f382446a956f346b465e7ac6a414a762c339e63589d75ba86dad57d470c413d1abfaece88e0e6a6a0fe63ce2c2f0020772d5b72d7b7c3bd6f8dfc512a3ba25209c732ab646fa78baf2c56509b4bd8c6b60fa96a631c57363bde3d0315771103cd9fa8125b2e311d4bc5590d0a771d7ae54c137e477a678164357bdcdb21cd100bb45266aa66965eb30f137e3003cf74bbb066b6458f3b78be08bb56e6be62e3a9e9dd6928ffb7ec5386ceb6c18f39fa87d9a6e91c3fb9dc9053c033f3e179b939dbd0b337f1aff8a752c1131a5a6c082af9f36d4130f555be739a0b9d87e38a0407c4a5fa49dec49572dff92335cb85e27fa959d0f4bfd4acdfc2ff979af59f4fcd3a667a35a9fae8ad3471e2bc4eeee205cc4a8373b03af45a58b5bf0eb892f3b00d74a3f16ee52c6f9baf8ec4911690984ded3da1f050f6bab0507159b579e3d48deb00e0b2e68cbfabbdf4b19174ae14448e95dab6127886925ad96db62fb5758f45e05c785b146ecf891005d7789c9757650cb2662b6f5e2e70124d0fcf6bf44876bf1a5ca9c22a21e5924901fae0df0c5cb00d4ba91c32e78dbd9c4fd22458eac6d6fd92a02d8422abcda7be7b57572afe2d26fbca4921ce3cbdf2c053f34200dfb3b8381241983a490ad1dc9c96ae28e5e795bba0160101dc0ee8a78f5450f49991bfd6dc8ea91889b1a82d79527c3d148b82571d002eaf4585c0df7c0b31c0b790be87b323a237db4de1f44df76deafd6210af65c61119e56556470fe4e3108da239b9f31751305291e9c97a0181ff3cab9a7b49e36bd60cd9105ab721a77067cdb22736b64fa44029f955da2ac229dd2c83a126e55a5ed84b6ce9e99711ae27030e1b7daa609e2f0680e76bcd067f6aed9eec25c11783a5684e3d16820c763a256ea61e7044a59d45a8e4d6def6695643bd694cc65eb43b7e7969e955c6cfe07b781a95dc0a4b6537a1ca8b823e2ed3e44f2f7cd66820add13610269320e688fe64cf67c4cb7743ea8a328d6c0e4850979408c2c8c0f929273c2fb78016245c1cef7363d94b216ba64b542b51f100ecd83a8c37786377224cf22133188abb1e87919265dea8a4330f3fdf8635b4d61281ef2e2957fe18a87ca2c614b5efe3e4a8239987bbdd16f466d22dd3451562f4b4d868f76942a82de33efade0a04451d8890f851f04e1c45b9e5b4ed2b751105172d2c0a06e12ebd3078befd7a5284bcd571a189271da4ca3bdb4fefde736a694ded80d31bdebfe64c3fbdb658957ee83c3aa12c639e909edec496d75bc418adc5f7bc7de9f4ff3ff2f6574d521b8bdf8fe71b2bd0a4d872c08b6f8af58e2ac81c9e3b3d452be54c981e037a5677c88df6a2bf97c98ad0b13929b1dceb929aa244f6ea6160bdb0d2111a6cb75d1f307861778a74261df40dc83ffb80bb9b92b9e2137ee5572b2dfb395625123042a07dc0f3c301a9374e0fbff8908293b2fdc663759a3dfd21b3bfa42231e22d7ba254e851f0e29b523a521193be852292e3f2caa43c1c374430959b2c7ccdebfa932959451bbee90ad8f16fbae2f51ba4454fd0875eeb097ece87e4e7ae835dad685196fd880c5eea40ad1f4b94a03689c6bf3ebffa558d1828617d573a4b4e74f146fbb5cf0ff89d39b3ef4ac4526055304c74953560b4098d823e5a576598528f862808a82cbd987cd8a8f34174a8478dff65be7e780ace8bd2770030b3361d4224b11b6cc4a8ec4322d2acc95bd5794f73e7676764241639a72eac29212ac3588e340ced65022ad6f7f3b13cd8e50da396b1149ede608899b4210afa2f874921df6004a4f691b138063fc2f1bc7aade282c0110fceb39f466c2ac5544021c6a22344838304a18f155925c9716f3015da7ef237ab1df670d2346acf3d83061090ad1390846285b5ef2e0d2ae7b7c8e0c9f8f11c40aabeb9ced01924142a3fe95b4811ae1ec356fd1051859f81818d84ca7975dbfb8b07f50d8f00f8b5fccbd74a3c5362c78b8944b043519626b1c586baaf04ea3e1208fef6b986636f4461def686e732c2462cd179a8e94fb679407c858d07152782707df1200ee800d45f32fdf60120e4b7b1066b7aa0d78021c96b6a82c5b2c789850c279a7a1e309c32988b2669c43c8c447f8fdeaa8af84660e1ca91c96b09061bef06acb5152c24deb39c54b63ddacce160d310b52170716efafb7b509febee259cce759cb66355382df0759ca7b05022f86215ec8f6e31c8fd532fbfc7e488beffc8b0fbe33f6e6f22fa56eadbeb44df9eedc9e291fbc7cfdf02df30a2ef9cc2779f7c2d8caefbbde4bf84c6bfe7c621bebf0fc87d1b19f4bd8cfd8388e0fb9adead9ce13b934400d11f0dfff1ca9ebdddd747ebd80fd76112c828b64b9fa4de8d70f2df5fd55dbaf43e86121d5fe63d28e440d8fc805fc94e3f5535cb7f581a6deca5469b55923bfe974f6dcc31767c4155901b45a80bb7f655f0ab4b867aa96d068a01d4247c4090ff3ba1cdab40d5b09684dcb9897b0ad4a04d5315ca903d396620533360d1bc660b0e2ee917d08c34273937143a6d8a5ec9bdc195b568fb248d9c7dc54c6b85b9647edf6aff51d7f7bdf0a30142a92fa83f2f891ccc5c8cf9fbf18f3381e65d3a9e0a8174619f06d1481faf1673d09933e0363f6bac3afa6bcc19d4854a9c74d57a1379d5b9813bb2e5935106392988caba9bf7144bad551d30eb9cc5d76564193b0edb7ca42033f781fbbd338a78f3215be2d2b5d4de2339a64a9395508bfe9726ddaf11dc84c5a9da7fcd044911283230c246ad35c0d9c7af1562135bc5d87bed3d38c4f884ac22b6db90bbe52689da28278644f5047600eef0974fab57ca28d485ae1f3c62302e3a6135de99b575a49677410557e3a04894c36ce7423169182ccd7fe43d58d824b062454723c92d1db24c37e6e952fa9890f06458db837a79139a4adf009d4a28e50ba5bca1846204611ed018505cd6f3cdcaa35edf6bfd3f749edf83daf2738787a57a8695ec22ca58b69e447fce5f72c5d2ca1f182a2ff329e50e56ae84b29bbf3b1ff6e5e20bf384f8e68e0e37c869a53a7d6e1f0e2bab2d193cb8a8eb654b37fb47ebf037070ceb879a592b960cf2581dc9656d8023e6962493e8e98218936783399ed1275e4c87541d78f4f307411c0cc2bf7da881de750170fb21ebeebfec48fdf5eb6c7e16ff0dfab64051bd016d3520acc2ef128455f9aab85157008358eb507e1c40faebcee9c1b4760ef9a389f51ebc22333c745ae36248d612ee59595a27d6090a5be609c307769f9829430219495e55fe9e4afa3aa57f8d20e502413051b03e3473f0d66daa1236d14e0c3fdd317c75d7c90f6cf7d6a96348b51c6aded5cd83a785bbe0572a75deb13bd961350fab92befaa8df8da716c7199f7c7e56cb21a4ed7b4af4d16f97cb9a6fa0ff37e62451a2bd651fc93df8daa99f22dbbeb1e8df6544140cafa86f7a3ce6abf5887aa0f202279bdbd4d0bd8e74f1c2b2b25a3c4ee9f0640cf0824bd880addbf44eb55c3c7dd73d572691311197f4bc17ca06294fb6547013960174e43a7a1c6257dc87825591ef163db7553b6064457d78916f63f34c29dce78c23ff388eab42673931fa09ea0a9d7d2a77ee07b417ff951b25fe3c154441382afa2328710305887b246110df8ec2214c0a1ac4ba4583bcb0642f61a73764538dbe0b782ea6792ec4b9a49db6734cf4f7ec031acafed9f6e3a299c205df1ea5537a57846e35f0ccadf25733f7f7b1777725b8906478e96ddb94fb8b2ffaa9ea4f07d5a0cce7585c3a97f3de075073685fe33f31477e355fe7070435867bead7a63dd742b2bdc2500b7073b919cf28b28c587f8a858a76a2a2dfd5d36310f881d3eb27650b88820e88fed42018072323f9fa1b7887e40e8bd90e6e8f437a087d29f51601f16d2e10cee55ff7d270203943824715b85f97737e293eacda57cdefe358432ba903690600b8adb98662b039fe71ca531130ec77b8a8e1cce178bc9020e3cf88369f0dae08dcecf373060800210a3e48881c7f2c3f379f6741134bc560f6590aa3485bcd74d16e5b524b4867857c161438d9a09596fa9a41fad1c9daabb38c29abe8fc7a7ccfe78f2864781f37738055ee9ef21cdd6d6ddcef6723b73fba35072a722b0abef1bc4f42caf8b421c1ff29d024368029fc6e91ea519ed513c590a7ce4a2d952a200bddfdcbda894b09171ec7bf552a0e371c3a9eb9769c7e9e236c9a4e3930d965f28f13711de9ff8a4b6661ffd94b66d160d8701c2c000d1de3ffe292d9dfbe0416ea92d7449439f5e89849286f2443c7caf0418dbf457930f2db381dd73a2afceb2bb8f424110afad35ffa4e46de10431addd27609ce88bf8ecca9f404a3c1ea941978d7b3e29bda5659b16b1ce5e7ded53dd429baa10418959a120a0c8bb5bd997f935abcfeea1803a545fb8b8b27dc964b8dae257bdd29427b30af62fac995f67afb8a82ea52e0d2bc637c5d8c839c55255c1f7dbbafa4ceb5a2bd1dab742b85980b6ab7824e25907ddc45f349c299a1bb645a7302615be3ce97c92cde0e662eac9bf1945e6c14bb2ee0efc308ffe8d2e6abadb783b02ab852b2d0b4b091ca1b2b64921ef6eca2d992649f47ca3d8a8ca645fbf57b1995b6ae4a5cf6cbb7ce98951cb11b56ec7e26e9d881af2f915237c7c36782101bb199f6ad1757f3cdcc528e417f2e762cd0480cd43dfb19e3e190767d61e0cd47dbc485dd4c79c242cf1e80ed96390df7db274f0680ee19c7695bea8d82cc4f12d6914570247f94959dd26c630ade4e2b561238a1b702a0e1afa3e1187dbb90f3112672b68b72386e6e787223e56392560585de55a31764882a7806e6a4f1bebf41802cc4ce058c930f6315ce73abddee8f8e198fdd977afeabf77d616863ff56141c432ec07cefefc63bfe56b215dace042ed90bd77ce529131a2dab20ea875245fbbcb743dd79873633d53609f26cf44cb0c3ea095514a0fe4602d4673e2cf327f350665bff848ca02278101e2aa40cf67910ffee39f013eda3bcde400c6461cbeff9d83d4da7f5326b49e729feb0586c912a46cc865babe3667076a0483688fd457941cdb8fa75fe66e3796ee0ccdb7698cf97c9e8d9cbb57e479cb5d86459778df9b95d63be81f7b3c67c97985e79a311129f79f7e173a9c4b3cbe9d0c6dc78702390e6c669ebda01d7e2603c95c7bd93f64f9d231b58bd8ce0ac2ee1b912a047dc0d71c5d3da57452bcfa85c54f2ad926a4f2e65bc52f296ccd30e4b66fec6e4f71d2fececeee225185ffde91defbff3efa97ca7835d3fa550a22c1254f30e0d44bcb55f8212d86ff2078882879052aee4e32bad22c10b3c01f5e60fa55367a28d3262222f3063440e08c199418f88e1d4528f6ea2388343e55216e7cdd7bb139d00273f6c1bfeb9c0c636427b00705a7308c54aa1fff32360e6c4b8d74db9b3d81d6a8f4687463717a957bbc7110831302210ff03e3b5a657a75653e6835ed1210c9ebe68d01d499c8ebe16df934094240fa2b97e3ab3e936c5a4eef008bd8c8246919ce9ca6856ef48a47264ce2cedcd24afff170000ffff68d5119f' nonce: 532315 type: 2 network: null v: '0x0' r: '0x499c92a129e8be1ecbee20644891d13c96f50c3fe38d084c09bb3d02cec1f22a' s: '0xa0cca26adda20fb784295009b4c32921eaf483e0ac1e9fa4a2d70f13e1f97f4' yParity: '0x0' transactionIndex: 210 accessList: [] maxFeePerGas: '26532462838' maxPriorityFeePerGas: '150000000' logs: - address: '0x5E4e65926BA27467555EB562121fac00D24E9dD2' topics: - '0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e' - '0x000000000000000000000000000000000000000000000000000000000007c1ee' data: '0x571e95f97edea0a71f80422b69a12b71386829561a6ff3f5b6f43b16fad7c6580000000000000000000000000000000000000000000000000000000000000039000000000000000000000000000000000000000000000000000000000441a25500000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000' blockNumber: 16525031 transactionHash: '0x00ac1582db64ee60e1be6b653c42ca5d199d749c2e0e3990f3ab00433fcdc1d6' transactionIndex: 210 blockHash: '0x0cda5f2df18f889cbed8d2b691a46794996ee2ede5dde63187b8d556882e705c' logIndex: 345 removed: false id: log_2fca2f68 - address: '0x5E4e65926BA27467555EB562121fac00D24E9dD2' topics: - '0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899' data: '0x00000000000000000000000000000000000000000000000000000000000451030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000441a28e' blockNumber: 16525031 transactionHash: '0x00ac1582db64ee60e1be6b653c42ca5d199d749c2e0e3990f3ab00433fcdc1d6' transactionIndex: 210 blockHash: '0x0cda5f2df18f889cbed8d2b691a46794996ee2ede5dde63187b8d556882e705c' logIndex: 346 removed: false id: log_554477d1 x-bd-cu: '30' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/getusertransactions: get: tags: - Chain summary: Get User Transactions description: 'Retrieves historical transaction details for one or more user addresses over a defined block range, including both simple native transfers and complex contract interactions. For each transaction, the response provides the hash, nonce, sender/receiver addresses, value, gas details, block info, and any ERC20/NFT/native token transfers, along with summaries, categorization (send, receive, etc.), and pagination via a next-page token. > πŸ’‘ **Compute Unit Value:** `245` (Fixed)' operationId: chainGetusertransactions parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '43115' - '43116' - '43114' - '1' - '56' - '137' - '250' - '10' - '42161' - '25' - '8453' - '1100' - '1101' - '900' - '1500' - '1501' - '1600' - '1601' - '1700' - '1701' - '1800' - '1400' example: '43115' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: address in: query required: true schema: type: string description: The public address of the user. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: The public address of the user. - name: endBlock in: query required: false schema: type: string description: The ending block number from which to get the transactions. By default, the current block. example: '100010' description: The ending block number from which to get the transactions. By default, the current block. - name: startBlock in: query required: false schema: type: string description: The starting block number from which to get the transactions. By default, the Genesis block. example: '100000' description: The starting block number from which to get the transactions. By default, the Genesis block. - name: pageToken in: query required: false schema: type: string description: The page cursor present at the top to fetch the next page. example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYWdlIjoxLCJjb250cmFjdEFkZHJlc3MiOiIweGZhZThlNjRjZGRlNzM1NTBlN2Q3ZjA0Njk1NTdhMzNhNDE3YjI4NjgiLCJjb250cmFjdFR5cGUiOiJlcmMyMCIsImFwcHJvdmVyQWRkcmVzcyI6IjB4NjVhOGYwN2JkOWE4NTk4ZTFiNWI2YzBhODhmNDc3OWRiYzA3NzY3NSIsInNwZW5kZXJBZGRyZXNzIjoiMHgxMTExMTExMjU0ZmI2YzQ0YmFjMGJlZDI4NTRlNzZmOTA2NDMwOTdkIiwiaWF0IjoxNzMzMzkzODE2fQ.y7FANxpXgtdgk83CIqPHHk2jutj1NZrueTu4XR39jnk description: The page cursor present at the top to fetch the next page. - name: sortOrder in: query required: false schema: type: string description: The transaction sorting order. 'asc' or 'desc'. By default, desc. enum: - desc - asc example: desc description: The transaction sorting order. 'asc' or 'desc'. By default, desc. - name: pageSize in: query required: false schema: type: string description: 'The number of transactions to fetch per page. By default, 30. Max: 100.' example: '10' description: 'The number of transactions to fetch per page. By default, 30. Max: 100.' - name: fromTimestamp in: query required: false schema: type: string description: The start date (in seconds or date string) from which to get the transactions. If 'startBlock' is also provided, 'startBlock' will be used. example: '1741869257' description: The start date (in seconds or date string) from which to get the transactions. If 'startBlock' is also provided, 'startBlock' will be used. - name: toTimestamp in: query required: false schema: type: string description: The end date (in seconds or date string) from which to get the transactions. If 'endBlock' is also provided, 'endBlock' will be used. example: '1741969257' description: The end date (in seconds or date string) from which to get the transactions. If 'endBlock' is also provided, 'endBlock' will be used. - name: limit in: query required: false schema: type: string description: 'Maximum number of transactions in response. Maximum: 5.' example: '10' description: 'Maximum number of transactions in response. Maximum: 5.' - name: beforeBlock in: query required: false schema: type: string description: The block number before which the user wants the transactions. example: '100010' description: The block number before which the user wants the transactions. - name: afterBlock in: query required: false schema: type: string description: The block number after which the user wants the transactions. example: '100000' description: The block number after which the user wants the transactions. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: nextPageToken: eyJhbGciOiJIUzI1NiJ9.eyJ0YWJsZUluZGV4IjowLCJsYXN0RXZhbHVhdGVkS2V5Ijp7IndhbGxldEFkZHJlc3MiOiIweDk1MjIyMjkwZGQ3Mjc4YWEzZGRkMzg5Y2MxZTFkMTY1Y2M0YmFmZTUiLCJ0aW1lc3RhbXBfYmxvY2tOdW1iZXJfdHhJbmRleCI6IjAwMDAwMDE3MzI1NzkxNjMwMDAyMTI2ODE5OTAwMDAxIn0sInBhZ2VOdW1iZXIiOjAsImtleUNvbmRpdGlvbkV4cHJlc3Npb24iOnsid2FsbGV0QWRkcmVzcyI6eyJlcSI6IjB4OTUyMjIyOTBkZDcyNzhhYTNkZGQzODljYzFlMWQxNjVjYzRiYWZlNSJ9LCJ0aW1lc3RhbXBfYmxvY2tOdW1iZXJfdHhJbmRleCI6eyJiZXR3ZWVuIjpbIjAwMDAwMDE3MzI0OTI3OTkwMDAwMDAwMDAwMDAwMDAwIiwiMDAwMDAwMTczMjU3OTE5OTAwMDAwMDAwMDAwOTk5OTkiXX19LCJsaW1pdCI6IjUiLCJvcmRlciI6ImRlc2NlbmRpbmcifQ.A8XTqltMTV2l6qit4DIvVEPrtZKDyqHwSa3kjg8_zio pageSize: '5' transactions: - hash: '0x4357e50aa43cac717c971e4f86a6689fd621515559ab07919a21184e500bbdb6' nonce: '1706902' transaction_index: '61' from_address_entity: null from_address_entity_logo: null from_address: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' from_address_label: beaverbuild to_address_entity: null to_address_entity_logo: null to_address: '0x13f2241aa64bb6da2b74553fa9e12b713b74f334' to_address_label: null value: '65645477106837944' gas: '21000' gas_price: '6284009466' receipt_cumulative_gas_used: '13777624' receipt_gas_used: '21000' receipt_contract_address: null receipt_status: '1' block_timestamp: '2024-11-25T23:59:23.000Z' block_number: '21268199' block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' transaction_fee: '0.000131964198786' method_label: null nft_transfers: [] erc20_transfers: [] native_transfers: - from_address_entity: null from_address_entity_logo: null from_address: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' from_address_label: beaverbuild to_address_entity: null to_address_entity_logo: null to_address: '0x13f2241aa64bb6da2b74553fa9e12b713b74f334' to_address_label: null value: '65645477106837944' value_formatted: '0.06564547710683795' direction: send internal_transaction: false token_symbol: ETH summary: Sent 0.06564 ETH to 0x13...f334 possible_spam: false category: send internal_transactions: [] - hash: '0x85d86ae6a47ef52184ee1849ffc438bf47a7a3f5059c04aac0c7a9da4815beb8' nonce: '1706901' transaction_index: '10' from_address_entity: null from_address_entity_logo: null from_address: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' from_address_label: beaverbuild to_address_entity: null to_address_entity_logo: null to_address: '0xb7641d7b663d6cfc149c544883ef1692fea348a6' to_address_label: null value: '81728592291360' gas: '21000' gas_price: '6284009466' receipt_cumulative_gas_used: '2571406' receipt_gas_used: '21000' receipt_contract_address: null receipt_status: '1' block_timestamp: '2024-11-25T23:59:23.000Z' block_number: '21268199' block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' transaction_fee: '0.000131964198786' method_label: null nft_transfers: [] erc20_transfers: [] native_transfers: - from_address_entity: null from_address_entity_logo: null from_address: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' from_address_label: beaverbuild to_address_entity: null to_address_entity_logo: null to_address: '0xb7641d7b663d6cfc149c544883ef1692fea348a6' to_address_label: null value: '81728592291360' value_formatted: '0.00008172859229136' direction: send internal_transaction: false token_symbol: ETH summary: Sent 0.00008172 ETH to 0xb7...48a6 possible_spam: false category: send internal_transactions: [] - hash: '0x85ab1681dcb221869eaf62ba03642fbc76279c3364490ad30cf078b12e9ba75b' nonce: '346' transaction_index: '4' from_address_entity: null from_address_entity_logo: null from_address: '0x86da51f66a5f4b170200f8cc6429856580541028' from_address_label: null to_address_entity: null to_address_entity_logo: null to_address: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' to_address_label: null value: '0' gas: '500000' gas_price: '6315429513' receipt_cumulative_gas_used: '1539105' receipt_gas_used: '258878' receipt_contract_address: null receipt_status: '1' block_timestamp: '2024-11-25T23:59:23.000Z' block_number: '21268199' block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' transaction_fee: '0.001634925761466414' method_label: null nft_transfers: [] erc20_transfers: [] native_transfers: [] summary: Signed a transaction possible_spam: false category: contract interaction internal_transactions: - transaction_hash: '0x85ab1681dcb221869eaf62ba03642fbc76279c3364490ad30cf078b12e9ba75b' block_number: 21268199 block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' type: CALL from: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' to: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' value: '3039388317129529' gas: '2300' gas_used: '0' input: 0x output: 0x - transaction_hash: '0x85ab1681dcb221869eaf62ba03642fbc76279c3364490ad30cf078b12e9ba75b' block_number: 21268199 block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' type: CALL from: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' to: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' value: '3039388317129529' gas: '2300' gas_used: '72' input: 0x output: 0x - hash: '0xebba90e71f26c8a82b825527ab7eeefc1775697648499c7b1139b8225c9ac54d' nonce: '273' transaction_index: '2' from_address_entity: null from_address_entity_logo: null from_address: '0xe17e026d3dc521154e773867b4e20577b32bdff9' from_address_label: null to_address_entity: null to_address_entity_logo: null to_address: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' to_address_label: null value: '0' gas: '500000' gas_price: '6315429513' receipt_cumulative_gas_used: '637296' receipt_gas_used: '258836' receipt_contract_address: null receipt_status: '1' block_timestamp: '2024-11-25T23:59:23.000Z' block_number: '21268199' block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' transaction_fee: '0.001634660513426868' method_label: null nft_transfers: [] erc20_transfers: [] native_transfers: [] summary: Signed a transaction possible_spam: false category: contract interaction internal_transactions: - transaction_hash: '0xebba90e71f26c8a82b825527ab7eeefc1775697648499c7b1139b8225c9ac54d' block_number: 21268199 block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' type: CALL from: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' to: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' value: '8393334440265254' gas: '2300' gas_used: '0' input: 0x output: 0x - transaction_hash: '0xebba90e71f26c8a82b825527ab7eeefc1775697648499c7b1139b8225c9ac54d' block_number: 21268199 block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' type: CALL from: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' to: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' value: '8393334440265254' gas: '2300' gas_used: '72' input: 0x output: 0x - hash: '0x23a019479daf56c662517dca483614041f5b9608e7d872c087dbcf277f2da811' nonce: '365' transaction_index: '1' from_address_entity: null from_address_entity_logo: null from_address: '0xedd538785fe8cd7ecfdc08b1a6b93925d741cf1b' from_address_label: null to_address_entity: null to_address_entity_logo: null to_address: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' to_address_label: null value: '0' gas: '500000' gas_price: '6315429513' receipt_cumulative_gas_used: '378460' receipt_gas_used: '226858' receipt_contract_address: null receipt_status: '1' block_timestamp: '2024-11-25T23:59:23.000Z' block_number: '21268199' block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' transaction_fee: '0.001432705708460154' method_label: null nft_transfers: [] erc20_transfers: [] native_transfers: - from_address_entity: null from_address_entity_logo: null from_address: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' from_address_label: null to_address_entity: null to_address_entity_logo: null to_address: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' to_address_label: beaverbuild value: '2606209353475460' value_formatted: '0.00260620935347546' direction: receive internal_transaction: true token_symbol: ETH summary: Received 0.002606 ETH from 0x81...ca60 possible_spam: false category: receive internal_transactions: - transaction_hash: '0x23a019479daf56c662517dca483614041f5b9608e7d872c087dbcf277f2da811' block_number: 21268199 block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' type: CALL from: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' to: '0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5' value: '2606209353475460' gas: '2300' gas_used: '0' input: 0x output: 0x - transaction_hash: '0x23a019479daf56c662517dca483614041f5b9608e7d872c087dbcf277f2da811' block_number: 21268199 block_hash: '0xebef1670529602e29a4f56802b5dbf9fb58d04ffec9295ea262c6d881ee35534' type: CALL from: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' to: '0x817648d73fd85c802cfde8a29eba9f68b783ca60' value: '2606209353475460' gas: '2300' gas_used: '72' input: 0x output: 0x x-bd-cu: '245' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/registercoin: post: tags: - Chain summary: Register Coin description: 'This API creates a payload to register a coin on the Aptos wallet address. > πŸ’‘ **Compute Unit Value:** `55` (Fixed)' operationId: chainRegistercoin requestBody: required: true description: The request body for a /defi/v1/chain/registercoin content: application/json: schema: $ref: '#/components/schemas/_chain_registercoin_Request' example: chainId: '1401' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' tokenAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '1400' from: '0x1c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4c' to: '0x1c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4c' data: '0x1c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4cdde40000000000000200000000000000000000000000000000000000000000000000000000000000010d6170746f735f6163636f756e740e7472616e736665725f636f696e73010796baeee6d7a4a8cd712144d1225cfcb6c26d0c6fefd463bd77a878e4526c741109686169725f636f696e0848616972436f696e0002201c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4c080000000000000000400d0300000000006400000000000000b8128768000000000100' x-bd-cu: '55' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/sendtransaction: post: tags: - Chain summary: Send Transaction description: 'Submits a signed transaction to the blockchain for processing. This endpoint broadcasts the transaction data to the network and returns a unique transaction hash that can be used to track its confirmation status. > πŸ’‘ **Compute Unit Value:** `30` (Fixed)' operationId: chainSendtransaction requestBody: required: true description: The request body for a /defi/v1/chain/sendtransaction content: application/json: schema: $ref: '#/components/schemas/_chain_sendtransaction_Request' example: chainId: '1' chainSymbol: ETH rawTransaction: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' bdnTransaction: false mevProtection: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '1' transactionHash: '0x8375c5eedd17609292cecc051c18e180fa970b32a77011c48d3725e45e46e7b3' x-bd-cu: '30' x-bd-cu-type: fixed x-internal: false /defi/v1/chain/simulatetransaction: post: tags: - Chain summary: Simulate Transaction description: 'Simulates a signed transaction in the current network context without broadcasting, returning an encoded outcome, potential events, and resource cost metrics (CPU, memory). The response also includes the minimum resource fee and ledger number, enabling developers to verify, optimize, and confirm transaction behavior before committing funds. > πŸ’‘ **Compute Unit Value:** `50` (Fixed)' operationId: chainSimulatetransaction requestBody: required: true description: The request body for a /defi/v1/chain/simulatetransaction content: application/json: schema: $ref: '#/components/schemas/_chain_simulatetransaction_Request' example: chainId: '1500' chainSymbol: ETH rawTransaction: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: result: transactionData: AAAAAAAAAAEAAAAHCxRSx/lCsIebq3ncX/0VB3zL1ZCf+AY3FmCgx7Q9iO0AAAABAAAABgAAAAFV3d0a2VhBZ+54/g6tRMfgt+WajUevdHo3A8wtDuWS+QAAABQAAAABADpyuAAAAwAAAACEAAAAAAAAxO0= minResourceFee: '50413' events: - AAAAAQAAAAAAAAAAAAAAAgAAAAAAAAADAAAADwAAAAdmbl9jYWxsAAAAAA0AAAAgVd3dGtlYQWfueP4OrUTH4Lflmo1Hr3R6NwPMLQ7lkvkAAAAPAAAACWluY3JlbWVudAAAAAAAAAE= - AAAAAQAAAAAAAAABVd3dGtlYQWfueP4OrUTH4Lflmo1Hr3R6NwPMLQ7lkvkAAAACAAAAAAAAAAIAAAAPAAAACWZuX3JldHVybgAAAAAAAA8AAAAJaW5jcmVtZW50AAAAAAAAAwAAAAI= results: - auth: [] xdr: AAAAAwAAAAI= cost: cpuInsns: '830456' memBytes: '1223985' latestLedger: 51103937 x-bd-cu: '50' x-bd-cu-type: fixed x-internal: false components: schemas: _chain_createaccount_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1500' - '1501' - '1600' - '1601' example: '1500' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH from: type: string description: Public blockchain address of the sender initiating the transaction. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Public blockchain address of the recipient. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amount: type: string description: 'Amount of native asset in the chain''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 ETH (wei) = "1000000000000000000"; 1 XLM (stroops) = "10000000".' example: '1000000000000000000' destinationTag: type: string description: Optional tag for identifying the recipient's account on the XRPLedger. example: '10' required: - from - to - amount description: The request body for a /defi/v1/chain/createaccount example: chainId: '1500' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amount: '1000000000000000000' destinationTag: '10' _chain_estimategas_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '25' - '97' - '43114' - '338' - '43113' - '42161' - '421614' - '17000' - '10' - '11155420' - '4002' - '324' - '300' - '137' - '80002' - '250' - '8453' - '84532' - '5000' - '5003' - '8217' - '1001' example: '1' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH data: type: string description: Encoded function call data for the transaction. example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' from: type: string description: Public blockchain address of the sender initiating the transaction. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Public blockchain address of the recipient. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: 'Amount of native currency to send with the transaction, specified in wei (integer string). Example: ''1000000000000000000'' = 1 ETH.' example: '10' required: - data - from - to description: The request body for a /defi/v1/chain/estimategas example: chainId: '1' chainSymbol: ETH data: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: '10' _chain_createfeetransaction_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '25' - '56' - '97' - '43114' - '338' - '43113' - '421614' - '17000' - '42161' - '10' - '11155420' - '4002' - '324' - '300' - '137' - '80002' - '250' - '8453' - '84532' example: '1' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH from: type: string description: Public blockchain address of the sender initiating the transaction. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Public blockchain address of the recipient. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' value: type: string description: 'Amount of native currency to send with the transaction, specified in wei (integer string). Example: ''1000000000000000000'' = 1 ETH.' example: '10' data: type: string description: Encoded function call data for the transaction. example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: 'Price per unit of gas in wei, for legacy (pre-EIP-1559) transactions (integer string). Example: ''20000000000'' = 20 gwei.' example: '10000' referenceId: type: string description: A unique identifier generated for each POST request to enable tracking and referencing of the associated transaction. example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - from - to - value - referenceId description: The request body for a /defi/v1/chain/createfeetransaction example: chainId: '1' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' value: '10' data: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: '10000' referenceId: 8eec8150896e4fdaa26d4d1a1338d676 simulate: false _chain_sendtransaction_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '25' - '97' - '43114' - '338' - '900' - '901' - '1000' - '1002' - '1200' - '1201' - '43113' - '42161' - '421614' - '10' - '11155420' - '4002' - '324' - '300' - '1300' - '1301' - '101' - '102' - '103' - cosmoshub-4 - '1600' - '1601' - '1700' - '1701' - osmosis-1 - osmo-test-5 - '1800' - '1801' - '137' - '80002' - '250' - '8453' - '84532' - '1400' - '1401' - '400' - '401' - '1500' - '1501' - '17000' - '5000' - '5003' - '8217' - '1001' example: '1' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH rawTransaction: type: string description: The encoded transaction, obtained from the signed transaction. example: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' bdnTransaction: type: boolean description: If true, then the transaction goes through the BDN route, which speeds up the transaction process. By default, false. example: false mevProtection: type: boolean description: If true, the transaction is routed through Flashbots for MEV protection. example: false required: - rawTransaction description: The request body for a /defi/v1/chain/sendtransaction example: chainId: '1' chainSymbol: ETH rawTransaction: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' bdnTransaction: false mevProtection: false _chain_genericsmartcontractmethod_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '56' - '43114' - '42161' - '10' - '324' - '137' - '8453' example: '1' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH contractAddress: type: string description: The address of the smart contract to perform the read operation on. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' parameters: type: string description: Array of parameters to pass to the read function. example: '4515444785' abi: type: string description: ABI of the smart contract if unverified. enum: - '' example: '' methodName: type: string description: Name of the read function to be executed. example: getAmountsIn blockNumber: type: string description: The block number to perform the query on. Defaults to the latest block. example: '100000' required: - contractAddress - methodName description: The request body for a /defi/v1/chain/genericsmartcontractmethod example: chainId: '1' chainSymbol: ETH contractAddress: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' parameters: '4515444785' abi: '' methodName: getAmountsIn blockNumber: '100000' _chain_simulatetransaction_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1500' - '1501' example: '1500' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH rawTransaction: type: string description: A signed Stellar transaction, serialized as a base64 string. example: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' required: - rawTransaction description: The request body for a /defi/v1/chain/simulatetransaction example: chainId: '1500' chainSymbol: ETH rawTransaction: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' _chain_decodetransaction_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '11155111' - '56' - '97' - '43114' - '338' - '900' - '901' - '1200' - '1201' - '43113' - '42161' - '10' - '11155420' - '4002' - '324' - '300' - cosmoshub-4 - '1600' - '1601' - '1700' - '1701' - osmosis-1 - osmo-test-5 - '1800' - '1801' - '137' - '80002' - '250' - '8453' - '84532' - '1500' - '1501' - '5000' - '5003' - '8217' - '1001' example: '1' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH rawTransaction: type: string description: A signed transaction serialized as a base64 string, used to simulate contract execution on the blockchain. example: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' required: - rawTransaction description: The request body for a /defi/v1/chain/decodetransaction example: chainId: '1' chainSymbol: ETH rawTransaction: '0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce' _chain_registercoin_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1401' - '1400' example: '1401' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH from: type: string description: Public blockchain address of the sender initiating the transaction. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' tokenAddress: type: string description: Address of the token, user want to register on the chain. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' required: - from description: The request body for a /defi/v1/chain/registercoin example: chainId: '1401' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' tokenAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-Key description: '`X-API-Key: ` header must be set to authenticate API requests.You can create tokens in the "Configure" tab of your API access area at https://app.blockdaemon.com.' externalDocs: description: Blockdaemon DeFi documentation url: http://www.blockdaemon.com/api/defi x-provenance: method: searched source: https://docs.blockdaemon.com/reference harvested: '2026-10-14' tool: harvest-readme-openapi.py note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored. assembled_from: - https://docs.blockdaemon.com/reference/aagetpaymasterdata.md - https://docs.blockdaemon.com/reference/aagetsignaturemessage.md - https://docs.blockdaemon.com/reference/aagetuserops.md - https://docs.blockdaemon.com/reference/aasenduserops.md - https://docs.blockdaemon.com/reference/accountv1allowance.md - https://docs.blockdaemon.com/reference/accountv1portfolio.md - https://docs.blockdaemon.com/reference/bridgeaddliquidity.md - https://docs.blockdaemon.com/reference/bridgegetliquidity.md - https://docs.blockdaemon.com/reference/bridgegetroute.md - https://docs.blockdaemon.com/reference/bridgegetsignature.md - https://docs.blockdaemon.com/reference/bridgegetsupportedchains.md - https://docs.blockdaemon.com/reference/bridgegetsupportedtokens.md - https://docs.blockdaemon.com/reference/bridgeprice.md - https://docs.blockdaemon.com/reference/bridgequotes.md - https://docs.blockdaemon.com/reference/bridgeremoveliquidity.md - https://docs.blockdaemon.com/reference/bridgeswap.md - https://docs.blockdaemon.com/reference/bridgeswaps.md - https://docs.blockdaemon.com/reference/bridgeswapwithapproval.md - https://docs.blockdaemon.com/reference/bridgetokens.md - https://docs.blockdaemon.com/reference/bridgetransactions.md - https://docs.blockdaemon.com/reference/bridgeunlock.md - https://docs.blockdaemon.com/reference/chaincreateaccount.md - https://docs.blockdaemon.com/reference/chaincreatefeetransaction.md - https://docs.blockdaemon.com/reference/chaindecodetransaction.md - https://docs.blockdaemon.com/reference/chainestimategas.md - https://docs.blockdaemon.com/reference/chaingenericsmartcontractmethod.md - https://docs.blockdaemon.com/reference/chaingetapprovaldata.md - https://docs.blockdaemon.com/reference/chaingetbalance.md - https://docs.blockdaemon.com/reference/chaingetblock.md - https://docs.blockdaemon.com/reference/chaingetevents.md - https://docs.blockdaemon.com/reference/chaingetgasfees.md - https://docs.blockdaemon.com/reference/chaingetgasprice.md - https://docs.blockdaemon.com/reference/chaingethistoricalrewards.md - https://docs.blockdaemon.com/reference/chaingetlatestledger.md - https://docs.blockdaemon.com/reference/chaingetstakepositions.md - https://docs.blockdaemon.com/reference/chaingetstorage.md - https://docs.blockdaemon.com/reference/chaingetsuibalance.md - https://docs.blockdaemon.com/reference/chaingettokenaddress.md - https://docs.blockdaemon.com/reference/chaingettransaction.md - https://docs.blockdaemon.com/reference/chaingetusertransactions.md - https://docs.blockdaemon.com/reference/chainregistercoin.md - https://docs.blockdaemon.com/reference/chainsendtransaction.md - https://docs.blockdaemon.com/reference/chainsimulatetransaction.md - https://docs.blockdaemon.com/reference/dexaddliquidity.md - https://docs.blockdaemon.com/reference/dexcancelorder.md - https://docs.blockdaemon.com/reference/dexcreateorder.md - https://docs.blockdaemon.com/reference/dexfillorder.md - https://docs.blockdaemon.com/reference/dexgetactiveamount.md - https://docs.blockdaemon.com/reference/dexgethistoricaltimeseries.md - https://docs.blockdaemon.com/reference/dexgethistoricaltransactions.md - https://docs.blockdaemon.com/reference/dexgetindividualposition.md - https://docs.blockdaemon.com/reference/dexgetliquiditybytick.md - https://docs.blockdaemon.com/reference/dexgetliquiditysources.md - https://docs.blockdaemon.com/reference/dexgetmakerorders.md - https://docs.blockdaemon.com/reference/dexgetorders.md - https://docs.blockdaemon.com/reference/dexgetpool.md - https://docs.blockdaemon.com/reference/dexgetpoolchartdata.md - https://docs.blockdaemon.com/reference/dexgetpoolindividualliquidity.md - https://docs.blockdaemon.com/reference/dexgetpoolliquidity.md - https://docs.blockdaemon.com/reference/dexgetpooltradedata.md - https://docs.blockdaemon.com/reference/dexgetroute.md - https://docs.blockdaemon.com/reference/dexgettokenidprice.md - https://docs.blockdaemon.com/reference/dexgettokenliquidity.md - https://docs.blockdaemon.com/reference/dexgetuserliquidity.md - https://docs.blockdaemon.com/reference/dexgetusertokenids.md - https://docs.blockdaemon.com/reference/dexgetwalletposition.md - https://docs.blockdaemon.com/reference/dexprice.md - https://docs.blockdaemon.com/reference/dexpublishorder.md - https://docs.blockdaemon.com/reference/dexquotes.md - https://docs.blockdaemon.com/reference/dexremoveliquidity.md - https://docs.blockdaemon.com/reference/dexswap.md - https://docs.blockdaemon.com/reference/dexswaps.md - https://docs.blockdaemon.com/reference/dexswapwithapproval.md - https://docs.blockdaemon.com/reference/fungibletokenapprove.md - https://docs.blockdaemon.com/reference/fungibletokenconvertbasetokentowraptoken.md - https://docs.blockdaemon.com/reference/fungibletokenconvertwraptokentobasetoken.md - https://docs.blockdaemon.com/reference/fungibletokengettokendetails.md - https://docs.blockdaemon.com/reference/fungibletokengettokensupply.md - https://docs.blockdaemon.com/reference/fungibletokengetuserbalance.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricallogs.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricaltransactions.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricalusertransactions.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricalweth.md - https://docs.blockdaemon.com/reference/fungibletokentransfer.md - https://docs.blockdaemon.com/reference/fungibletokentransferfrom.md - https://docs.blockdaemon.com/reference/getapimetadatav2.md - https://docs.blockdaemon.com/reference/lendborrowallow.md - https://docs.blockdaemon.com/reference/lendborrowborrow.md - https://docs.blockdaemon.com/reference/lendborrowbundleactions.md - https://docs.blockdaemon.com/reference/lendborrowclaimrewards.md - https://docs.blockdaemon.com/reference/lendborrowdeposit.md - https://docs.blockdaemon.com/reference/lendborrowdepositwithapproval.md - https://docs.blockdaemon.com/reference/lendborrowentermarket.md - https://docs.blockdaemon.com/reference/lendborrowentermarketstatus.md - https://docs.blockdaemon.com/reference/lendborrowexitisolationmode.md - https://docs.blockdaemon.com/reference/lendborrowexitmarket.md - https://docs.blockdaemon.com/reference/lendborrowgetassetinfo.md - https://docs.blockdaemon.com/reference/lendborrowgetclaimedrewards.md - https://docs.blockdaemon.com/reference/lendborrowgetgovernordata.md - https://docs.blockdaemon.com/reference/lendborrowgetmaxamounts.md - https://docs.blockdaemon.com/reference/lendborrowgetuseraccountdata.md - https://docs.blockdaemon.com/reference/lendborrowmigrate.md - https://docs.blockdaemon.com/reference/lendborrowpool.md - https://docs.blockdaemon.com/reference/lendborrowpools.md - https://docs.blockdaemon.com/reference/lendborrowrepay.md - https://docs.blockdaemon.com/reference/lendborrowsetuseremode.md - https://docs.blockdaemon.com/reference/lendborrowtransfer.md - https://docs.blockdaemon.com/reference/lendborrowuserpositions.md - https://docs.blockdaemon.com/reference/lendborrowwithdraw.md - https://docs.blockdaemon.com/reference/lendborrowwithdrawwithapproval.md - https://docs.blockdaemon.com/reference/liquidstakingapprovewithdrawal.md - https://docs.blockdaemon.com/reference/liquidstakingburn.md - https://docs.blockdaemon.com/reference/liquidstakingclaim.md - https://docs.blockdaemon.com/reference/liquidstakingdecreaseallowance.md - https://docs.blockdaemon.com/reference/liquidstakingdelegate.md - https://docs.blockdaemon.com/reference/liquidstakinggetallowance.md - https://docs.blockdaemon.com/reference/liquidstakinggetapr.md - https://docs.blockdaemon.com/reference/liquidstakinggetprotocolapr.md - https://docs.blockdaemon.com/reference/liquidstakinggetrewards.md - https://docs.blockdaemon.com/reference/liquidstakinggetstake.md - https://docs.blockdaemon.com/reference/liquidstakinggetwithdrawalrequests.md - https://docs.blockdaemon.com/reference/liquidstakinggetwithdrawalstatus.md - https://docs.blockdaemon.com/reference/liquidstakingincreaseallowance.md - https://docs.blockdaemon.com/reference/liquidstakingmint.md - https://docs.blockdaemon.com/reference/liquidstakingrequestwithdrawal.md - https://docs.blockdaemon.com/reference/liquidstakingrestake.md - https://docs.blockdaemon.com/reference/liquidstakingstake.md - https://docs.blockdaemon.com/reference/liquidstakingundelegate.md - https://docs.blockdaemon.com/reference/liquidstakingunwrap.md - https://docs.blockdaemon.com/reference/liquidstakingwrap.md - https://docs.blockdaemon.com/reference/nftgetbalance.md - https://docs.blockdaemon.com/reference/nftgetmetadata.md - https://docs.blockdaemon.com/reference/nftgetowner.md - https://docs.blockdaemon.com/reference/nfthistoricallogs.md - https://docs.blockdaemon.com/reference/nfthistoricaltransactions.md - https://docs.blockdaemon.com/reference/oraclegetprice.md - https://docs.blockdaemon.com/reference/oraclegetsupportedtokens.md - https://docs.blockdaemon.com/reference/rwaburn.md - https://docs.blockdaemon.com/reference/rwafreeze.md - https://docs.blockdaemon.com/reference/rwagetallassets.md - https://docs.blockdaemon.com/reference/rwagetasset.md - https://docs.blockdaemon.com/reference/rwagetownerassets.md - https://docs.blockdaemon.com/reference/rwaissue.md - https://docs.blockdaemon.com/reference/rwaregister.md - https://docs.blockdaemon.com/reference/rwasettrustline.md - https://docs.blockdaemon.com/reference/rwatransfer.md - https://docs.blockdaemon.com/reference/rwaunfreeze.md - https://docs.blockdaemon.com/reference/stablecoingetprice.md - https://docs.blockdaemon.com/reference/syntheticdepositpeggedtoken.md - https://docs.blockdaemon.com/reference/syntheticgetprice.md - https://docs.blockdaemon.com/reference/syntheticwithdrawpeggedtoken.md - https://docs.blockdaemon.com/reference/wethgetbalance.md - https://docs.blockdaemon.com/reference/wethhistoricallogs.md - https://docs.blockdaemon.com/reference/yieldaggregatoraddliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatordepositpool.md - https://docs.blockdaemon.com/reference/yieldaggregatordepositvault.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetbalance.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarketdata.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarkets.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarkettokens.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetvaults.md - https://docs.blockdaemon.com/reference/yieldaggregatormint.md - https://docs.blockdaemon.com/reference/yieldaggregatorredeem.md - https://docs.blockdaemon.com/reference/yieldaggregatorremoveliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatorswap.md - https://docs.blockdaemon.com/reference/yieldaggregatortransferliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatorwithdrawpool.md - https://docs.blockdaemon.com/reference/yieldaggregatorwithdrawvault.md merge: pages: 168 deduped: 167 conflicts_kept_first: 0