{ "openrpc": "1.2.6", "info": { "title": "IOTA JSON-RPC", "description": "IOTA JSON-RPC API for interaction with IOTA full node or indexer. Make RPC calls using https://api.NETWORK.iota.cafe:443 (or https://indexer.NETWORK.iota.cafe:443 for the indexer), where NETWORK is the network you want to use (testnet, devnet, mainnet). By default, local networks use port 9000 (or 9124 for the indexer).", "contact": { "name": "IOTA Foundation", "url": "https://iota.org", "email": "info@iota.org" }, "license": { "name": "Apache-2.0", "url": "https://raw.githubusercontent.com/iotaledger/iota/main/LICENSE" }, "version": "1.26.0-alpha" }, "methods": [ { "name": "iota_devInspectTransactionBlock", "tags": [ { "name": "Write API" } ], "description": "Runs the transaction in dev-inspect mode. Which allows for nearly any transaction (or Move call) with any arguments. Detailed results are provided, including both the transaction effects and any return values.", "params": [ { "name": "sender_address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "tx_bytes", "description": "BCS encoded TransactionKind(as opposed to TransactionData, which include gasBudget and gasPrice)", "required": true, "schema": { "$ref": "#/components/schemas/Base64" } }, { "name": "gas_price", "description": "Gas is not charged, but gas usage is still calculated. Default to use reference gas price", "schema": { "type": "string" } }, { "name": "epoch", "description": "The epoch to perform the call. Will be set from the system state object if not provided", "schema": { "type": "string" } }, { "name": "additional_args", "description": "Additional arguments including gas_budget, gas_objects, gas_sponsor and skip_checks.", "schema": { "$ref": "#/components/schemas/DevInspectArgs" } } ], "result": { "name": "DevInspectResults", "required": true, "schema": { "$ref": "#/components/schemas/DevInspectResults" } }, "examples": [ { "name": "Runs the transaction in dev-inspect mode. Which allows for nearly any transaction (or Move call) with any arguments. Detailed results are provided, including both the transaction effects and any return values.", "params": [ { "name": "sender_address", "value": "0xd70420418b84502e506794227f897237764dde8d79a01ab2104bf742a277a2ab" }, { "name": "tx_bytes", "value": "AAACACBnxtMcbJcOVn8D72fYEaT4Q2ZbjePygvpIs+AQO6m77QEAagYVO5/EhuEB8OnicDrIZm0GrsxN3355JqNhlwxlpbECAAAAAAAAACDoQ3EipycU+/EOvBcDPFtMkZiSbdzWAw3CwdmQCAtBWAEBAQEBAAEAAMKwMSYiOSHAg+aAydIFAV6gYWuOXEniP/ORldAFiheCASxDgF0Nb1QCp60Npb3sVJx83qBrxKHTOaIlIe6pM7iJAgAAAAAAAAAgnvsgc1pPauyCE27/c+aBnHN3fSsxRAWdEJYzYFOryNDCsDEmIjkhwIPmgMnSBQFeoGFrjlxJ4j/zkZXQBYoXggoAAAAAAAAAoIYBAAAAAAAA" }, { "name": "gas_price", "value": 1000 }, { "name": "epoch", "value": 8888 }, { "name": "additional_args", "value": null } ], "result": { "name": "Result", "value": { "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "76gyHCk7FRrGACRqXM7Ybj5uJLtAzgEMJ5P9CeEzxZSG", "mutated": [ { "owner": { "AddressOwner": "0xc2b03126223921c083e680c9d205015ea0616b8e5c49e23ff39195d0058a1782" }, "reference": { "objectId": "0x2c43805d0d6f5402a7ad0da5bdec549c7cdea06bc4a1d339a22521eea933b889", "version": 2, "digest": "BhbWpBeESxuRWvmvLMyb2JNUuFa6j4aG1T4WUiPgKAHm" } }, { "owner": { "AddressOwner": "0x67c6d31c6c970e567f03ef67d811a4f843665b8de3f282fa48b3e0103ba9bbed" }, "reference": { "objectId": "0x6a06153b9fc486e101f0e9e2703ac8666d06aecc4ddf7e7926a361970c65a5b1", "version": 2, "digest": "GdfET1avZReDftpJNB8LSuHJ2cKUheSbEaLMzuPVXHsM" } } ], "gasObject": { "owner": { "ObjectOwner": "0xc2b03126223921c083e680c9d205015ea0616b8e5c49e23ff39195d0058a1782" }, "reference": { "objectId": "0x2c43805d0d6f5402a7ad0da5bdec549c7cdea06bc4a1d339a22521eea933b889", "version": 2, "digest": "BhbWpBeESxuRWvmvLMyb2JNUuFa6j4aG1T4WUiPgKAHm" } }, "eventsDigest": "6kerMphN4S5QTfd9TAhwMiFq1q9c2YwfpheBfWm85vUq" }, "events": [] } } } ] }, { "name": "iota_dryRunTransactionBlock", "tags": [ { "name": "Write API" } ], "description": "Return transaction execution effects including the gas cost summary, while the effects are not committed to the chain.", "params": [ { "name": "tx_bytes", "required": true, "schema": { "$ref": "#/components/schemas/Base64" } } ], "result": { "name": "DryRunTransactionBlockResponse", "required": true, "schema": { "$ref": "#/components/schemas/DryRunTransactionBlockResponse" } }, "examples": [ { "name": "Dry runs a transaction block to get back estimated gas fees and other potential effects.", "params": [ { "name": "tx_bytes", "value": "AAACACB7qR3cfnF89wjJNwYPBASHNuwz+xdG2Zml5YzVxnftgAEAT4LxyFh7mNZMAL+0bDhDvYv2zPp8ZahhOGmM0f3Kw9wCAAAAAAAAACCxDABG4pPAjOwPQHg9msS/SrtNf4IGR/2F0ZGD3ufH/wEBAQEBAAEAAE9XTdl6Y4BapdPcmZyAyccZhwIZVzDQIcZrRpqqsEQ4AejYx86GPzE9o9vZKoPvJtEouI/ma/JuDg0Jza9yfR2EAgAAAAAAAAAgzMqpegLMOpgEFnDhYJ23FOmFjJbp5GmFXxzzv9+X6GVPV03ZemOAWqXT3JmcgMnHGYcCGVcw0CHGa0aaqrBEOAoAAAAAAAAAoIYBAAAAAAAA" } ], "result": { "name": "Result", "value": { "digest": "B9CPdGjcArAtZXAiqHU874B5D9ZcFHj6kx4W3LaHdgAk", "transaction": { "data": { "messageVersion": "v1", "transaction": { "kind": "ProgrammableTransaction", "inputs": [ { "type": "pure", "valueType": "address", "value": "0x7ba91ddc7e717cf708c937060f04048736ec33fb1746d999a5e58cd5c677ed80" }, { "type": "object", "objectType": "immOrOwnedObject", "objectId": "0x4f82f1c8587b98d64c00bfb46c3843bd8bf6ccfa7c65a86138698cd1fdcac3dc", "version": "2", "digest": "Cv7n2YaM7Am1ssZGu4khsFkcKHnpgVhwFCSs4kLjrtLW" } ], "transactions": [ { "TransferObjects": [ [ { "Input": 1 } ], { "Input": 0 } ] } ] }, "sender": "0x4f574dd97a63805aa5d3dc999c80c9c7198702195730d021c66b469aaab04438", "gasData": { "payment": [ { "objectId": "0xe8d8c7ce863f313da3dbd92a83ef26d128b88fe66bf26e0e0d09cdaf727d1d84", "version": 2, "digest": "EnRQXe1hDGAJCFyF2ds2GmPHdvf9V6yxf24LisEsDkYt" } ], "owner": "0x4f574dd97a63805aa5d3dc999c80c9c7198702195730d021c66b469aaab04438", "price": "10", "budget": "100000" } }, "txSignatures": [ "AAk0zWxFHoW4PChs3RzxsnNgLYMAvtk8maZHBNEUiupqyV8ptMZrc/tt5rzi09oguNn1JeRsrO6sIH0JDn/sqAdDij1TvBYKLcfLNo8fq6GASb9yfo6uvuwNUBGkTf54wQ==" ] }, "rawTransaction": "AQAAAAAAAgAge6kd3H5xfPcIyTcGDwQEhzbsM/sXRtmZpeWM1cZ37YABAE+C8chYe5jWTAC/tGw4Q72L9sz6fGWoYThpjNH9ysPcAgAAAAAAAAAgsQwARuKTwIzsD0B4PZrEv0q7TX+CBkf9hdGRg97nx/8BAQEBAQABAABPV03ZemOAWqXT3JmcgMnHGYcCGVcw0CHGa0aaqrBEOAHo2MfOhj8xPaPb2SqD7ybRKLiP5mvybg4NCc2vcn0dhAIAAAAAAAAAIMzKqXoCzDqYBBZw4WCdtxTphYyW6eRphV8c87/fl+hlT1dN2XpjgFql09yZnIDJxxmHAhlXMNAhxmtGmqqwRDgKAAAAAAAAAKCGAQAAAAAAAAFhAAk0zWxFHoW4PChs3RzxsnNgLYMAvtk8maZHBNEUiupqyV8ptMZrc/tt5rzi09oguNn1JeRsrO6sIH0JDn/sqAdDij1TvBYKLcfLNo8fq6GASb9yfo6uvuwNUBGkTf54wQ==", "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "8UExPV121BEfWkbymSPDYhh23rVNh3MSWtC5juJ9JGMJ", "mutated": [ { "owner": { "AddressOwner": "0x4f574dd97a63805aa5d3dc999c80c9c7198702195730d021c66b469aaab04438" }, "reference": { "objectId": "0xe8d8c7ce863f313da3dbd92a83ef26d128b88fe66bf26e0e0d09cdaf727d1d84", "version": 2, "digest": "EnRQXe1hDGAJCFyF2ds2GmPHdvf9V6yxf24LisEsDkYt" } }, { "owner": { "AddressOwner": "0x7ba91ddc7e717cf708c937060f04048736ec33fb1746d999a5e58cd5c677ed80" }, "reference": { "objectId": "0x4f82f1c8587b98d64c00bfb46c3843bd8bf6ccfa7c65a86138698cd1fdcac3dc", "version": 2, "digest": "Cv7n2YaM7Am1ssZGu4khsFkcKHnpgVhwFCSs4kLjrtLW" } } ], "gasObject": { "owner": { "ObjectOwner": "0x4f574dd97a63805aa5d3dc999c80c9c7198702195730d021c66b469aaab04438" }, "reference": { "objectId": "0xe8d8c7ce863f313da3dbd92a83ef26d128b88fe66bf26e0e0d09cdaf727d1d84", "version": 2, "digest": "EnRQXe1hDGAJCFyF2ds2GmPHdvf9V6yxf24LisEsDkYt" } }, "eventsDigest": "55TNn3v5vpuXjQfjqamw76P9GZD522pumo4NuT7RYeFB" }, "objectChanges": [ { "type": "transferred", "sender": "0x4f574dd97a63805aa5d3dc999c80c9c7198702195730d021c66b469aaab04438", "recipient": { "AddressOwner": "0x7ba91ddc7e717cf708c937060f04048736ec33fb1746d999a5e58cd5c677ed80" }, "objectType": "0x2::example::Object", "objectId": "0x4f82f1c8587b98d64c00bfb46c3843bd8bf6ccfa7c65a86138698cd1fdcac3dc", "version": "2", "digest": "B3xLC8EbyvTxy5pgiwTNUzHLa6kS7uwD6sZdErKB8F8f" } ] } } } ] }, { "name": "iota_executeTransactionBlock", "tags": [ { "name": "Write API" } ], "description": "Execute the transaction and wait for results if desired. Request types: 1. WaitForEffectsCert: waits for TransactionEffectsCert and then return to client. This mode is a proxy for transaction finality. 2. WaitForLocalExecution: waits for TransactionEffectsCert and make sure the node executed the transaction locally before returning the client. The local execution makes sure this node is aware of this transaction when client fires subsequent queries. However if the node fails to execute the transaction locally in a timely manner, a bool type in the response is set to false to indicated the case. request_type is default to be `WaitForEffectsCert` unless options.show_events or options.show_effects is true", "params": [ { "name": "tx_bytes", "description": "BCS serialized transaction data bytes without its type tag, as base-64 encoded string.", "required": true, "schema": { "$ref": "#/components/schemas/Base64" } }, { "name": "signatures", "description": "A list of signatures (`flag || signature || pubkey` bytes, as base-64 encoded string). Signature is committed to the intent message of the transaction data, as base-64 encoded string.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Base64" } } }, { "name": "options", "description": "options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/TransactionBlockResponseOptions" } }, { "name": "request_type", "description": "The request type, derived from `IotaTransactionBlockResponseOptions` if None", "schema": { "$ref": "#/components/schemas/ExecuteTransactionRequestType" } } ], "result": { "name": "IotaTransactionBlockResponse", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockResponse" } }, "examples": [ { "name": "Executes a transaction with serialized signatures.", "params": [ { "name": "tx_bytes", "value": "AAACACBqEB6aOvXIBwES+Ahkizbvv43uihqC3kbZUE6WoRCKFwEAjvdvVsOZYzousxC8qRJOXy84znOeqsu2YAaIgE4HhEgCAAAAAAAAACB9w3+ufZMpihJFwxtCBojBaGy00TVtFxgN2C6TpIPFqwEBAQEBAAEAAL5N77yuKRb4g/2ejPxYvLpjZ2SwXH6wsX5+CabmRdtkAZ+Q9/hmzCnfsdpjc86U+dldylpA9OF2mRjuv5+64AvTAgAAAAAAAAAgjleHL0UiRGjh/BfIFHCJ3EMY/dQA22c2TvNQyVJnbYW+Te+8rikW+IP9noz8WLy6Y2dksFx+sLF+fgmm5kXbZAoAAAAAAAAAoIYBAAAAAAAA" }, { "name": "signatures", "value": [ "ANM+jgFPQLHI7qyW/zmHCIi+gStO1jiw2S/b6tR7A9dbt/86/06SB4Z5/gdkRT5pkN5TRdd1INmxxbDZAOyK/AvqvbuA0Q1Bqu4RHV3JPpqmH+C527hWJGUBOZN1j9sg8w==" ] }, { "name": "options", "value": { "showInput": true, "showRawInput": true, "showEffects": true, "showEvents": true, "showObjectChanges": true, "showBalanceChanges": true, "showRawEffects": false } }, { "name": "request_type", "value": "WaitForLocalExecution" } ], "result": { "name": "Result", "value": { "digest": "6x6axDu4LwDWuSjseCAwBzdKsyJ59iuV7QPNzctdfw7h", "transaction": { "data": { "messageVersion": "v1", "transaction": { "kind": "ProgrammableTransaction", "inputs": [ { "type": "pure", "valueType": "address", "value": "0x6a101e9a3af5c8070112f808648b36efbf8dee8a1a82de46d9504e96a1108a17" }, { "type": "object", "objectType": "immOrOwnedObject", "objectId": "0x8ef76f56c399633a2eb310bca9124e5f2f38ce739eaacbb6600688804e078448", "version": "2", "digest": "9Tvs1pGrMbNv7kkr1PoKLsWamyQpaFz5UWbL2AQ1ezk2" } ], "transactions": [ { "TransferObjects": [ [ { "Input": 1 } ], { "Input": 0 } ] } ] }, "sender": "0xbe4defbcae2916f883fd9e8cfc58bcba636764b05c7eb0b17e7e09a6e645db64", "gasData": { "payment": [ { "objectId": "0x9f90f7f866cc29dfb1da6373ce94f9d95dca5a40f4e1769918eebf9fbae00bd3", "version": 2, "digest": "AaeJbTYkUuyromsivxzkoxSkHt7pCESTyQG7xz6nbQ2G" } ], "owner": "0xbe4defbcae2916f883fd9e8cfc58bcba636764b05c7eb0b17e7e09a6e645db64", "price": "10", "budget": "100000" } }, "txSignatures": [ "ANM+jgFPQLHI7qyW/zmHCIi+gStO1jiw2S/b6tR7A9dbt/86/06SB4Z5/gdkRT5pkN5TRdd1INmxxbDZAOyK/AvqvbuA0Q1Bqu4RHV3JPpqmH+C527hWJGUBOZN1j9sg8w==" ] }, "rawTransaction": "AQAAAAAAAgAgahAemjr1yAcBEvgIZIs277+N7ooagt5G2VBOlqEQihcBAI73b1bDmWM6LrMQvKkSTl8vOM5znqrLtmAGiIBOB4RIAgAAAAAAAAAgfcN/rn2TKYoSRcMbQgaIwWhstNE1bRcYDdguk6SDxasBAQEBAQABAAC+Te+8rikW+IP9noz8WLy6Y2dksFx+sLF+fgmm5kXbZAGfkPf4Zswp37HaY3POlPnZXcpaQPThdpkY7r+fuuAL0wIAAAAAAAAAII5Xhy9FIkRo4fwXyBRwidxDGP3UANtnNk7zUMlSZ22Fvk3vvK4pFviD/Z6M/Fi8umNnZLBcfrCxfn4JpuZF22QKAAAAAAAAAKCGAQAAAAAAAAFhANM+jgFPQLHI7qyW/zmHCIi+gStO1jiw2S/b6tR7A9dbt/86/06SB4Z5/gdkRT5pkN5TRdd1INmxxbDZAOyK/AvqvbuA0Q1Bqu4RHV3JPpqmH+C527hWJGUBOZN1j9sg8w==", "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "9agZ3azEMgMqxrDVG8P4GddELfWag2HhimEkpjixHhGE", "mutated": [ { "owner": { "AddressOwner": "0xbe4defbcae2916f883fd9e8cfc58bcba636764b05c7eb0b17e7e09a6e645db64" }, "reference": { "objectId": "0x9f90f7f866cc29dfb1da6373ce94f9d95dca5a40f4e1769918eebf9fbae00bd3", "version": 2, "digest": "AaeJbTYkUuyromsivxzkoxSkHt7pCESTyQG7xz6nbQ2G" } }, { "owner": { "AddressOwner": "0x6a101e9a3af5c8070112f808648b36efbf8dee8a1a82de46d9504e96a1108a17" }, "reference": { "objectId": "0x8ef76f56c399633a2eb310bca9124e5f2f38ce739eaacbb6600688804e078448", "version": 2, "digest": "9Tvs1pGrMbNv7kkr1PoKLsWamyQpaFz5UWbL2AQ1ezk2" } } ], "gasObject": { "owner": { "ObjectOwner": "0xbe4defbcae2916f883fd9e8cfc58bcba636764b05c7eb0b17e7e09a6e645db64" }, "reference": { "objectId": "0x9f90f7f866cc29dfb1da6373ce94f9d95dca5a40f4e1769918eebf9fbae00bd3", "version": 2, "digest": "AaeJbTYkUuyromsivxzkoxSkHt7pCESTyQG7xz6nbQ2G" } }, "eventsDigest": "816hEv4WAW2reK9xkf11PeHiaZJrp7PQT9oGJZhdf9TN" }, "objectChanges": [ { "type": "transferred", "sender": "0xbe4defbcae2916f883fd9e8cfc58bcba636764b05c7eb0b17e7e09a6e645db64", "recipient": { "AddressOwner": "0x6a101e9a3af5c8070112f808648b36efbf8dee8a1a82de46d9504e96a1108a17" }, "objectType": "0x2::example::Object", "objectId": "0x8ef76f56c399633a2eb310bca9124e5f2f38ce739eaacbb6600688804e078448", "version": "2", "digest": "7PsBHpUW6yfGNov2WrbVafLjgT9nYziQ3gVDbRq6zTbF" } ] } } } ] }, { "name": "iota_getChainIdentifier", "tags": [ { "name": "Read API" } ], "description": "Return the first four bytes of the chain's genesis checkpoint digest.", "params": [], "result": { "name": "String", "required": true, "schema": { "type": "string" } }, "examples": [ { "name": "Gets the identifier for the chain receiving the POST.", "params": [], "result": { "name": "Result", "value": "4c78adac" } } ] }, { "name": "iota_getCheckpoint", "tags": [ { "name": "Read API" } ], "description": "Return a checkpoint", "params": [ { "name": "id", "description": "Checkpoint identifier, can use either checkpoint digest, or checkpoint sequence number as input.", "required": true, "schema": { "$ref": "#/components/schemas/CheckpointId" } } ], "result": { "name": "Checkpoint", "required": true, "schema": { "$ref": "#/components/schemas/Checkpoint" } }, "examples": [ { "name": "Gets checkpoint information for the checkpoint ID in the request.", "params": [ { "name": "id", "value": "1000" } ], "result": { "name": "Result", "value": { "epoch": "5000", "sequenceNumber": "1000", "digest": "G6Dtzr1ZSfHFhotGsTE3cLENa7L1ooe1BBvknAUsARbV", "networkTotalTransactions": "792385", "previousDigest": "6tBy8RXZKrdrB4XkMQn7J3MNG4fQCo9XcRduFFvYrL5Z", "epochRollingGasCostSummary": { "computationCost": "0", "computationCostBurned": "0", "storageCost": "0", "storageRebate": "0", "nonRefundableStorageFee": "0" }, "timestampMs": "1676911928", "transactions": [ "mN8YNBgVR3wB7vfXmjVgDRF4oqxVRRjzmJ6U4mzbq77" ], "checkpointCommitments": [], "validatorSignature": "wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } } } ] }, { "name": "iota_getCheckpoints", "tags": [ { "name": "Read API" } ], "description": "Return paginated list of checkpoints", "params": [ { "name": "cursor", "description": "An optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.", "schema": { "type": "string" } }, { "name": "limit", "description": "Maximum item returned per page, default to [QUERY_MAX_RESULT_LIMIT_CHECKPOINTS] if not specified.", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } }, { "name": "descending_order", "description": "query result ordering, default to false (ascending order), oldest record first.", "required": true, "schema": { "type": "boolean" } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_Checkpoint_and_String" } }, "examples": [ { "name": "Gets a paginated list in descending order of all checkpoints starting at the provided cursor. Each page of results has a maximum number of checkpoints set by the provided limit.", "params": [ { "name": "cursor", "value": "1004" }, { "name": "limit", "value": 4 }, { "name": "descending_order", "value": false } ], "result": { "name": "Result", "value": { "data": [ { "epoch": "5000", "sequenceNumber": "1005", "digest": "9zA7Q9Ka1ykvYjSQGhQCdCf32FZkcWNWx7L22JczXGsk", "networkTotalTransactions": "792385", "previousDigest": "8BLFxLTjWZ2KqaGc3FjR1o9aL6kbyYrmhuNfJLU1ehYt", "epochRollingGasCostSummary": { "computationCost": "0", "computationCostBurned": "0", "storageCost": "0", "storageRebate": "0", "nonRefundableStorageFee": "0" }, "timestampMs": "1676911928", "transactions": [ "7RudGLkQDBNJyqrptkrNU66Zd3pvq8MHVAHYz9WpBm59" ], "checkpointCommitments": [], "validatorSignature": "wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "epoch": "5000", "sequenceNumber": "1006", "digest": "FAUWHyWacmb4Vg4QGi9a6gqeVb7ixAZiL73FaGd6WpoV", "networkTotalTransactions": "792385", "previousDigest": "6Pn25cieaE62AT6BwCeBoca13AGZuneucaaTGqt3gNCo", "epochRollingGasCostSummary": { "computationCost": "0", "computationCostBurned": "0", "storageCost": "0", "storageRebate": "0", "nonRefundableStorageFee": "0" }, "timestampMs": "1676911928", "transactions": [ "7r7tmP5hzgrusiN6cucFwfTveqDb7K75tMJ7oNCyoDmy" ], "checkpointCommitments": [], "validatorSignature": "wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "epoch": "5000", "sequenceNumber": "1007", "digest": "B3mzC6gy87SomUQwPsmVY7mtwkZLxfm5WwNi3kKyEb3x", "networkTotalTransactions": "792385", "previousDigest": "CnHTfdUJr1UUqwXkYUhbQjXeM16xR33UR62jE72toCis", "epochRollingGasCostSummary": { "computationCost": "0", "computationCostBurned": "0", "storageCost": "0", "storageRebate": "0", "nonRefundableStorageFee": "0" }, "timestampMs": "1676911928", "transactions": [ "Gb1UDqhmKMzMJ5FL37kBqCcuy4TtBL2ay3qec8tEUBLj" ], "checkpointCommitments": [], "validatorSignature": "wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "epoch": "5000", "sequenceNumber": "1008", "digest": "HunuJWKu7azBfS47rJTq9FHTMvUDNVo2SK4hQeh5brXp", "networkTotalTransactions": "792385", "previousDigest": "38fLUfuigyzLPEDrsmRhcQmhKtbEUohuFBP9NDcWBmFz", "epochRollingGasCostSummary": { "computationCost": "0", "computationCostBurned": "0", "storageCost": "0", "storageRebate": "0", "nonRefundableStorageFee": "0" }, "timestampMs": "1676911928", "transactions": [ "GWTS9QR7mjNz9fBWGkk4JZU3mrzMXrmj74uS59Cd5und" ], "checkpointCommitments": [], "validatorSignature": "wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } ], "nextCursor": "1008", "hasNextPage": true } } } ] }, { "name": "iota_getEvents", "tags": [ { "name": "Read API" } ], "description": "Return transaction events.", "params": [ { "name": "transaction_digest", "description": "the event query criteria.", "required": true, "schema": { "$ref": "#/components/schemas/Base58" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Event" } } }, "examples": [ { "name": "Returns the events the transaction in the request emits.", "params": [ { "name": "transaction_digest", "value": "11a72GCQ5hGNpWGh2QhQkkusTEGS6EDqifJqxr7nSYX" } ], "result": { "name": "Result", "value": [ { "id": { "txDigest": "11a72GCQ5hGNpWGh2QhQkkusTEGS6EDqifJqxr7nSYX", "eventSeq": "0" }, "packageId": "0xc54ab30a3d9adc07c1429c4d6bbecaf9457c9af77a91f631760853934d383634", "transactionModule": "test_module", "sender": "0xbcf7c32655009a61f1de0eae420a2e4ae1bb772ab2dd5d5a7dfa949c0ef06908", "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestEvent", "parsedJson": { "test": "example value" }, "bcsEncoding": "base64", "bcs": "" } ] } } ] }, { "name": "iota_getLatestCheckpointSequenceNumber", "tags": [ { "name": "Read API" } ], "description": "Return the sequence number of the latest checkpoint that has been executed", "params": [], "result": { "name": "String", "required": true, "schema": { "type": "string" } }, "examples": [ { "name": "Gets the sequence number for the latest checkpoint.", "params": [], "result": { "name": "Result", "value": "507021" } } ] }, { "name": "iota_getMoveFunctionArgTypes", "tags": [ { "name": "Move Utils" } ], "description": "Return the argument types of a Move function, based on normalized Type.", "params": [ { "name": "package", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "module", "required": true, "schema": { "type": "string" } }, { "name": "function", "required": true, "schema": { "type": "string" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MoveFunctionArgType" } } }, "examples": [ { "name": "Returns the argument types for the package and function the request provides.", "params": [ { "name": "package", "value": "0x9c4eb6769ca8b6a23efeb7298cf0a8d0b837b78749c2cfc711c42036cc6b7621" }, { "name": "module", "value": "my_module" }, { "name": "function", "value": "mint" } ], "result": { "name": "Result", "value": [ { "Object": "ByMutableReference" }, "Pure", "Pure", { "Object": "ByValue" }, { "Object": "ByImmutableReference" }, { "Object": "ByValue" }, { "Object": "ByMutableReference" } ] } } ] }, { "name": "iota_getNormalizedMoveFunction", "tags": [ { "name": "Move Utils" } ], "description": "Return a structured representation of Move function", "params": [ { "name": "package", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "module_name", "required": true, "schema": { "type": "string" } }, { "name": "function_name", "required": true, "schema": { "type": "string" } } ], "result": { "name": "IotaMoveNormalizedFunction", "required": true, "schema": { "$ref": "#/components/schemas/IotaMoveNormalizedFunction" } }, "examples": [ { "name": "Returns the structured representation of the function the request provides.", "params": [ { "name": "package", "value": "0x1639f3606a53f61f3a566963b3eac49fe3bb57d304a454ed2f4859b44f4e4918" }, { "name": "module_name", "value": "moduleName" }, { "name": "function_name", "value": "functionName" } ], "result": { "name": "Result", "value": { "visibility": "Public", "isEntry": false, "typeParameters": [ { "abilities": [ "Store", "Key" ] } ], "parameters": [ "U64" ], "return": [ "U64" ] } } } ] }, { "name": "iota_getNormalizedMoveModule", "tags": [ { "name": "Move Utils" } ], "description": "Return a structured representation of Move module", "params": [ { "name": "package", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "module_name", "required": true, "schema": { "type": "string" } } ], "result": { "name": "IotaMoveNormalizedModule", "required": true, "schema": { "$ref": "#/components/schemas/IotaMoveNormalizedModule" } }, "examples": [ { "name": "Gets a structured representation of the Move module for the package in the request.", "params": [ { "name": "package", "value": "0x800105867da4655eca6d9eb1258bfd1ad92af329a07781ee71e60065e00f2de9" }, { "name": "module_name", "value": "module" } ], "result": { "name": "Result", "value": { "fileFormatVersion": 6, "address": "0x0047d5fa0a823e7d0ff4d55c32b09995a0ae1eedfee9c7b1354e805ed10ee3d0", "name": "module", "friends": [], "structs": {}, "exposedFunctions": {} } } } ] }, { "name": "iota_getNormalizedMoveModulesByPackage", "tags": [ { "name": "Move Utils" } ], "description": "Return structured representations of all modules in the given package", "params": [ { "name": "package", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } } ], "result": { "name": "BTreeMap", "required": true, "schema": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/IotaMoveNormalizedModule" } } }, "examples": [ { "name": "Gets structured representations of all the modules for the package in the request.", "params": [ { "name": "package", "value": "0xc95b9e341bc3aba1654bdbad707dcd773bd6309363447ef3fe58a960de92aa93" } ], "result": { "name": "Result", "value": { "fileFormatVersion": 6, "address": "0x61630d3505f8905a0f4d42c6ff39a78a6ba2b28f68a3299ec3417bbabc6717dc", "name": "module", "friends": [], "structs": {}, "exposedFunctions": {} } } } ] }, { "name": "iota_getNormalizedMoveStruct", "tags": [ { "name": "Move Utils" } ], "description": "Return a structured representation of Move struct", "params": [ { "name": "package", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "module_name", "required": true, "schema": { "type": "string" } }, { "name": "struct_name", "required": true, "schema": { "type": "string" } } ], "result": { "name": "IotaMoveNormalizedStruct", "required": true, "schema": { "$ref": "#/components/schemas/IotaMoveNormalizedStruct" } }, "examples": [ { "name": "Gets a structured representation of the struct in the request.", "params": [ { "name": "package", "value": "0x77b3482580ee8d5bdc5b824808df54bfec4fc817622e5add0e48f749f01def98" }, { "name": "module_name", "value": "module" }, { "name": "struct_name", "value": "StructName" } ], "result": { "name": "Result", "value": { "abilities": { "abilities": [ "Store", "Key" ] }, "typeParameters": [], "fields": [] } } } ] }, { "name": "iota_getObject", "tags": [ { "name": "Read API" } ], "description": "Return the object information for a specified object", "params": [ { "name": "object_id", "description": "the ID of the queried object", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "options", "description": "options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/ObjectDataOptions" } } ], "result": { "name": "IotaObjectResponse", "required": true, "schema": { "$ref": "#/components/schemas/IotaObjectResponse" } }, "examples": [ { "name": "Gets Object data for the ID in the request.", "params": [ { "name": "object_id", "value": "0x53e4567ccafa5f36ce84c80aa8bc9be64e0d5ae796884274aef3005ae6733809" }, { "name": "options", "value": { "showType": true, "showOwner": true, "showPreviousTransaction": true, "showDisplay": false, "showContent": true, "showBcs": false, "showStorageRebate": true } } ], "result": { "name": "Result", "value": { "data": { "objectId": "0x53e4567ccafa5f36ce84c80aa8bc9be64e0d5ae796884274aef3005ae6733809", "version": "1", "digest": "33K5ZXJ3RyubvYaHuEnQ1QXmmbhgtrFwp199dnEbL4n7", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0xc8ec1d5b84dd6289e193b9f88de4a994358c9f856135236c3e75a925e1c77ac3" }, "previousTransaction": "5PLgmQye6rraDYqpV3npV6H1cUXoJZgJh1dPCyRa3WCv", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "100000000", "id": { "id": "0x53e4567ccafa5f36ce84c80aa8bc9be64e0d5ae796884274aef3005ae6733809" } } } } } } } ] }, { "name": "iota_getProtocolConfig", "tags": [ { "name": "Read API" } ], "description": "Return the protocol config table for the given version number. If the version number is not specified, If none is specified, the node uses the version of the latest epoch it has processed.", "params": [ { "name": "version", "description": "An optional protocol version specifier. If omitted, the latest protocol config table for the node will be returned.", "schema": { "type": "string" } } ], "result": { "name": "ProtocolConfigResponse", "required": true, "schema": { "$ref": "#/components/schemas/ProtocolConfig" } }, "examples": [ { "name": "Returns the protocol config for the given protocol version. If none is specified, the node uses the version of the latest epoch it has processed", "params": [ { "name": "version", "value": 6 } ], "result": { "name": "Result", "value": { "minSupportedProtocolVersion": "1", "maxSupportedProtocolVersion": "29", "protocolVersion": "6", "featureFlags": { "accept_passkey_in_multisig": false, "additional_borrow_checks": false, "additional_multisig_checks": false, "adjust_rewards_by_score": false, "always_advance_dkg_to_resolution": false, "calculate_validator_scores": false, "congestion_control_gas_price_feedback_mechanism": false, "congestion_control_min_free_execution_slot": false, "congestion_limit_overshoot_in_gas_price_feedback_mechanism": false, "consensus_batched_block_sync": false, "consensus_block_restrictions": false, "consensus_commit_transactions_only_for_traversed_headers": false, "consensus_distributed_vote_scoring_strategy": false, "consensus_fast_commit_sync": false, "consensus_linearize_subdag_v2": false, "consensus_median_timestamp_with_checkpoint_enforcement": false, "consensus_round_prober": false, "consensus_round_prober_probe_accepted_rounds": false, "consensus_smart_ancestor_selection": false, "consensus_starfish_speed": false, "consensus_zstd_compression": false, "convert_type_argument_error": true, "dependency_linkage_error": false, "disable_invariant_violation_check_in_swap_loc": true, "disallow_new_modules_in_deps_only_packages": true, "enable_group_ops_native_function_msm": true, "enable_move_authentication": false, "enable_move_authentication_for_sponsor": false, "enable_poseidon": true, "enable_vdf": true, "enable_white_flag_flow": false, "hardened_otw_check": true, "metadata_in_module_bytes": false, "minimize_child_object_mutations": false, "move_native_tx_context": false, "native_charging_v2": true, "no_extraneous_module_bytes": true, "normalize_ptb_arguments": false, "pass_calculated_validator_scores_to_advance_epoch": false, "pass_validator_scores_to_advance_epoch": false, "passkey_auth": true, "pre_consensus_sponsor_only_move_authentication": false, "protocol_defined_base_fee": true, "publish_package_metadata": false, "relocate_event_module": true, "rethrow_serialization_type_layout_errors": true, "select_committee_from_eligible_validators": false, "select_committee_supporting_next_epoch_version": false, "separate_gas_price_feedback_mechanism_for_randomness": false, "track_non_committee_eligible_validators": false, "uncompressed_g1_group_elements": true, "validate_identifier_inputs": false, "variant_nodes": false }, "attributes": { "address_from_bytes_cost_base": { "u64": "52" }, "address_from_u256_cost_base": { "u64": "52" }, "address_to_u256_cost_base": { "u64": "52" }, "auth_context_authenticator_function_info_v1_cost_base": null, "auth_context_digest_cost_base": null, "auth_context_replace_cost_base": null, "auth_context_replace_cost_per_byte": null, "auth_context_tx_commands_cost_base": null, "auth_context_tx_commands_cost_per_byte": null, "auth_context_tx_data_bytes_cost_base": null, "auth_context_tx_data_bytes_cost_per_byte": null, "auth_context_tx_inputs_cost_base": null, "auth_context_tx_inputs_cost_per_byte": null, "base_gas_price": { "u64": "1000" }, "base_tx_cost_fixed": { "u64": "1000" }, "base_tx_cost_per_byte": { "u64": "0" }, "bcs_failure_cost": { "u64": "52" }, "bcs_legacy_min_output_size_cost": { "u64": "1" }, "bcs_per_byte_serialized_cost": { "u64": "2" }, "binary_address_identifiers": { "u16": "100" }, "binary_constant_pool": { "u16": "4000" }, "binary_enum_def_instantiations": null, "binary_enum_defs": null, "binary_field_handles": { "u16": "500" }, "binary_field_instantiations": { "u16": "250" }, "binary_friend_decls": { "u16": "100" }, "binary_function_defs": { "u16": "1000" }, "binary_function_handles": { "u16": "1500" }, "binary_function_instantiations": { "u16": "750" }, "binary_identifiers": { "u16": "10000" }, "binary_module_handles": { "u16": "100" }, "binary_signatures": { "u16": "1000" }, "binary_struct_def_instantiations": { "u16": "100" }, "binary_struct_defs": { "u16": "200" }, "binary_struct_handles": { "u16": "300" }, "binary_variant_handles": null, "binary_variant_instantiation_handles": null, "bls12381_bls12381_min_pk_verify_cost_base": { "u64": "49282" }, "bls12381_bls12381_min_pk_verify_msg_cost_per_block": { "u64": "2" }, "bls12381_bls12381_min_pk_verify_msg_cost_per_byte": { "u64": "2" }, "bls12381_bls12381_min_sig_verify_cost_base": { "u64": "44064" }, "bls12381_bls12381_min_sig_verify_msg_cost_per_block": { "u64": "2" }, "bls12381_bls12381_min_sig_verify_msg_cost_per_byte": { "u64": "2" }, "bridge_should_try_to_finalize_committee": { "bool": "true" }, "buffer_stake_for_protocol_upgrade_bps": { "u64": "5000" }, "check_zklogin_id_cost_base": { "u64": "200" }, "check_zklogin_issuer_cost_base": { "u64": "200" }, "checkpoint_summary_version_specific_data": { "u64": "1" }, "config_read_setting_impl_cost_base": { "u64": "100" }, "config_read_setting_impl_cost_per_byte": { "u64": "40" }, "consensus_bad_nodes_stake_threshold": { "u64": "20" }, "consensus_gc_depth": null, "consensus_max_acknowledgments_per_block": null, "consensus_max_num_transactions_in_block": { "u64": "512" }, "consensus_max_transaction_size_bytes": { "u64": "262144" }, "consensus_max_transactions_in_block_bytes": { "u64": "524288" }, "crypto_invalid_arguments_cost": { "u64": "100" }, "debug_print_base_cost": { "u64": "52" }, "debug_print_stack_trace_base_cost": { "u64": "52" }, "dynamic_field_add_child_object_cost_base": { "u64": "100" }, "dynamic_field_add_child_object_struct_tag_cost_per_byte": { "u64": "10" }, "dynamic_field_add_child_object_type_cost_per_byte": { "u64": "10" }, "dynamic_field_add_child_object_value_cost_per_byte": { "u64": "10" }, "dynamic_field_borrow_child_object_child_ref_cost_per_byte": { "u64": "10" }, "dynamic_field_borrow_child_object_cost_base": { "u64": "100" }, "dynamic_field_borrow_child_object_type_cost_per_byte": { "u64": "10" }, "dynamic_field_has_child_object_cost_base": { "u64": "100" }, "dynamic_field_has_child_object_with_ty_cost_base": { "u64": "100" }, "dynamic_field_has_child_object_with_ty_type_cost_per_byte": { "u64": "2" }, "dynamic_field_has_child_object_with_ty_type_tag_cost_per_byte": { "u64": "2" }, "dynamic_field_hash_type_and_key_cost_base": { "u64": "100" }, "dynamic_field_hash_type_and_key_type_cost_per_byte": { "u64": "2" }, "dynamic_field_hash_type_and_key_type_tag_cost_per_byte": { "u64": "2" }, "dynamic_field_hash_type_and_key_value_cost_per_byte": { "u64": "2" }, "dynamic_field_remove_child_object_child_cost_per_byte": { "u64": "2" }, "dynamic_field_remove_child_object_cost_base": { "u64": "100" }, "dynamic_field_remove_child_object_type_cost_per_byte": { "u64": "2" }, "ecdsa_k1_decompress_pubkey_cost_base": { "u64": "52" }, "ecdsa_k1_ecrecover_keccak256_cost_base": { "u64": "500" }, "ecdsa_k1_ecrecover_keccak256_msg_cost_per_block": { "u64": "2" }, "ecdsa_k1_ecrecover_keccak256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_k1_ecrecover_sha256_cost_base": { "u64": "500" }, "ecdsa_k1_ecrecover_sha256_msg_cost_per_block": { "u64": "2" }, "ecdsa_k1_ecrecover_sha256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_k1_secp256k1_verify_keccak256_cost_base": { "u64": "1470" }, "ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_block": { "u64": "2" }, "ecdsa_k1_secp256k1_verify_keccak256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_k1_secp256k1_verify_sha256_cost_base": { "u64": "1470" }, "ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_block": { "u64": "2" }, "ecdsa_k1_secp256k1_verify_sha256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_r1_ecrecover_keccak256_cost_base": { "u64": "1173" }, "ecdsa_r1_ecrecover_keccak256_msg_cost_per_block": { "u64": "2" }, "ecdsa_r1_ecrecover_keccak256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_r1_ecrecover_sha256_cost_base": { "u64": "1173" }, "ecdsa_r1_ecrecover_sha256_msg_cost_per_block": { "u64": "2" }, "ecdsa_r1_ecrecover_sha256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_r1_secp256r1_verify_keccak256_cost_base": { "u64": "4225" }, "ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_block": { "u64": "2" }, "ecdsa_r1_secp256r1_verify_keccak256_msg_cost_per_byte": { "u64": "2" }, "ecdsa_r1_secp256r1_verify_sha256_cost_base": { "u64": "4225" }, "ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_block": { "u64": "2" }, "ecdsa_r1_secp256r1_verify_sha256_msg_cost_per_byte": { "u64": "2" }, "ecvrf_ecvrf_verify_alpha_string_cost_per_block": { "u64": "2" }, "ecvrf_ecvrf_verify_alpha_string_cost_per_byte": { "u64": "2" }, "ecvrf_ecvrf_verify_cost_base": { "u64": "4848" }, "ed25519_ed25519_verify_cost_base": { "u64": "1802" }, "ed25519_ed25519_verify_msg_cost_per_block": { "u64": "2" }, "ed25519_ed25519_verify_msg_cost_per_byte": { "u64": "2" }, "event_emit_cost_base": { "u64": "52" }, "event_emit_output_cost_per_byte": { "u64": "10" }, "event_emit_tag_size_derivation_cost_per_byte": { "u64": "5" }, "event_emit_value_size_derivation_cost_per_byte": { "u64": "2" }, "execution_version": { "u64": "1" }, "gas_model_version": { "u64": "2" }, "gas_rounding_step": { "u64": "1000" }, "groth16_prepare_verifying_key_bls12381_cost_base": { "u64": "53838" }, "groth16_prepare_verifying_key_bn254_cost_base": { "u64": "82010" }, "groth16_verify_groth16_proof_internal_bls12381_cost_base": { "u64": "72090" }, "groth16_verify_groth16_proof_internal_bls12381_cost_per_public_input": { "u64": "8213" }, "groth16_verify_groth16_proof_internal_bn254_cost_base": { "u64": "115502" }, "groth16_verify_groth16_proof_internal_bn254_cost_per_public_input": { "u64": "9484" }, "groth16_verify_groth16_proof_internal_public_input_cost_per_byte": { "u64": "2" }, "group_ops_bls12381_decode_g1_cost": { "u64": "2848" }, "group_ops_bls12381_decode_g2_cost": { "u64": "3770" }, "group_ops_bls12381_decode_gt_cost": { "u64": "3068" }, "group_ops_bls12381_decode_scalar_cost": { "u64": "7" }, "group_ops_bls12381_g1_add_cost": { "u64": "1556" }, "group_ops_bls12381_g1_div_cost": { "u64": "5091" }, "group_ops_bls12381_g1_hash_to_base_cost": { "u64": "2962" }, "group_ops_bls12381_g1_hash_to_cost_per_byte": { "u64": "2" }, "group_ops_bls12381_g1_msm_base_cost": { "u64": "62648" }, "group_ops_bls12381_g1_msm_base_cost_per_input": { "u64": "1333" }, "group_ops_bls12381_g1_mul_cost": { "u64": "4842" }, "group_ops_bls12381_g1_sub_cost": { "u64": "1550" }, "group_ops_bls12381_g1_to_uncompressed_g1_cost": { "u64": "2099" }, "group_ops_bls12381_g2_add_cost": { "u64": "3048" }, "group_ops_bls12381_g2_div_cost": { "u64": "9206" }, "group_ops_bls12381_g2_hash_to_base_cost": { "u64": "8688" }, "group_ops_bls12381_g2_hash_to_cost_per_byte": { "u64": "2" }, "group_ops_bls12381_g2_msm_base_cost": { "u64": "131192" }, "group_ops_bls12381_g2_msm_base_cost_per_input": { "u64": "3216" }, "group_ops_bls12381_g2_mul_cost": { "u64": "9108" }, "group_ops_bls12381_g2_sub_cost": { "u64": "3019" }, "group_ops_bls12381_gt_add_cost": { "u64": "188" }, "group_ops_bls12381_gt_div_cost": { "u64": "27804" }, "group_ops_bls12381_gt_mul_cost": { "u64": "27490" }, "group_ops_bls12381_gt_sub_cost": { "u64": "497" }, "group_ops_bls12381_msm_max_len": { "u32": "32" }, "group_ops_bls12381_pairing_cost": { "u64": "26897" }, "group_ops_bls12381_scalar_add_cost": { "u64": "10" }, "group_ops_bls12381_scalar_div_cost": { "u64": "91" }, "group_ops_bls12381_scalar_mul_cost": { "u64": "11" }, "group_ops_bls12381_scalar_sub_cost": { "u64": "10" }, "group_ops_bls12381_uncompressed_g1_sum_base_cost": { "u64": "77" }, "group_ops_bls12381_uncompressed_g1_sum_cost_per_term": { "u64": "26" }, "group_ops_bls12381_uncompressed_g1_sum_max_terms": { "u64": "1200" }, "group_ops_bls12381_uncompressed_g1_to_g1_cost": { "u64": "677" }, "hash_blake2b256_cost_base": { "u64": "10" }, "hash_blake2b256_data_cost_per_block": { "u64": "2" }, "hash_blake2b256_data_cost_per_byte": { "u64": "2" }, "hash_keccak256_cost_base": { "u64": "10" }, "hash_keccak256_data_cost_per_block": { "u64": "2" }, "hash_keccak256_data_cost_per_byte": { "u64": "2" }, "hash_sha2_256_base_cost": { "u64": "52" }, "hash_sha2_256_legacy_min_input_len_cost": { "u64": "1" }, "hash_sha2_256_per_byte_cost": { "u64": "2" }, "hash_sha3_256_base_cost": { "u64": "52" }, "hash_sha3_256_legacy_min_input_len_cost": { "u64": "1" }, "hash_sha3_256_per_byte_cost": { "u64": "2" }, "hmac_hmac_sha3_256_cost_base": { "u64": "52" }, "hmac_hmac_sha3_256_input_cost_per_block": { "u64": "2" }, "hmac_hmac_sha3_256_input_cost_per_byte": { "u64": "2" }, "max_accumulated_txn_cost_per_object_in_mysticeti_commit": { "u64": "10" }, "max_age_of_jwk_in_epochs": { "u64": "1" }, "max_arguments": { "u32": "512" }, "max_auth_gas": null, "max_back_edges_per_function": { "u64": "10000" }, "max_back_edges_per_module": { "u64": "10000" }, "max_basic_blocks": { "u64": "1024" }, "max_checkpoint_size_bytes": { "u64": "31457280" }, "max_committee_members_count": { "u64": "50" }, "max_congestion_limit_overshoot_per_commit": null, "max_deferral_rounds_for_congestion_control": { "u64": "10" }, "max_dependency_depth": { "u64": "100" }, "max_event_emit_size": { "u64": "256000" }, "max_event_emit_size_total": { "u64": "65536000" }, "max_fields_in_struct": { "u64": "32" }, "max_function_definitions": { "u64": "1000" }, "max_function_parameters": { "u64": "128" }, "max_gas_computation_bucket": { "u64": "5000000" }, "max_gas_payment_objects": { "u32": "256" }, "max_gas_price": { "u64": "100000" }, "max_generic_instantiation_length": { "u64": "32" }, "max_input_objects": { "u64": "2048" }, "max_jwk_votes_per_validator_per_epoch": { "u64": "240" }, "max_loop_depth": { "u64": "5" }, "max_meter_ticks_per_module": { "u64": "16000000" }, "max_meter_ticks_per_package": { "u64": "16000000" }, "max_modules_in_publish": { "u32": "64" }, "max_move_enum_variants": null, "max_move_identifier_len": { "u64": "128" }, "max_move_object_size": { "u64": "256000" }, "max_move_package_size": { "u64": "102400" }, "max_move_value_depth": { "u64": "128" }, "max_move_vector_len": { "u64": "262144" }, "max_num_deleted_move_object_ids": { "u64": "2048" }, "max_num_deleted_move_object_ids_system_tx": { "u64": "32768" }, "max_num_event_emit": { "u64": "1024" }, "max_num_new_move_object_ids": { "u64": "2048" }, "max_num_new_move_object_ids_system_tx": { "u64": "32768" }, "max_num_transferred_move_object_ids": { "u64": "2048" }, "max_num_transferred_move_object_ids_system_tx": { "u64": "32768" }, "max_package_dependencies": { "u32": "32" }, "max_programmable_tx_commands": { "u32": "1024" }, "max_ptb_value_size": { "u64": "1048576" }, "max_publish_or_upgrade_per_ptb": { "u64": "5" }, "max_pure_argument_size": { "u32": "16384" }, "max_push_size": { "u64": "10000" }, "max_serialized_tx_effects_size_bytes": { "u64": "524288" }, "max_serialized_tx_effects_size_bytes_system_tx": { "u64": "8388608" }, "max_size_written_objects": { "u64": "5000000" }, "max_size_written_objects_system_tx": { "u64": "50000000" }, "max_soft_bundle_size": { "u64": "5" }, "max_struct_definitions": { "u64": "200" }, "max_transactions_per_checkpoint": { "u64": "10000" }, "max_tx_gas": { "u64": "50000000000" }, "max_tx_size_bytes": { "u64": "131072" }, "max_type_argument_depth": { "u32": "16" }, "max_type_arguments": { "u32": "16" }, "max_type_nodes": { "u64": "256" }, "max_type_to_layout_nodes": { "u64": "512" }, "max_value_stack_size": { "u64": "1024" }, "max_verifier_meter_ticks_per_function": { "u64": "16000000" }, "min_checkpoint_interval_ms": { "u64": "200" }, "min_move_binary_format_version": { "u32": "6" }, "move_binary_format_version": { "u32": "7" }, "obj_access_cost_delete_per_byte": { "u64": "40" }, "obj_access_cost_mutate_per_byte": { "u64": "40" }, "obj_access_cost_read_per_byte": { "u64": "15" }, "obj_access_cost_verify_per_byte": { "u64": "200" }, "obj_data_cost_refundable": { "u64": "100" }, "obj_metadata_cost_non_refundable": { "u64": "50" }, "object_borrow_uid_cost_base": { "u64": "52" }, "object_delete_impl_cost_base": { "u64": "52" }, "object_record_new_uid_cost_base": { "u64": "52" }, "object_runtime_max_num_cached_objects": { "u64": "1000" }, "object_runtime_max_num_cached_objects_system_tx": { "u64": "16000" }, "object_runtime_max_num_store_entries": { "u64": "1000" }, "object_runtime_max_num_store_entries_system_tx": { "u64": "16000" }, "package_publish_cost_fixed": { "u64": "1000" }, "package_publish_cost_per_byte": { "u64": "80" }, "poseidon_bn254_cost_base": { "u64": "260" }, "poseidon_bn254_cost_per_block": { "u64": "388" }, "random_beacon_dkg_timeout_round": { "u32": "3000" }, "random_beacon_dkg_version": { "u64": "1" }, "random_beacon_min_round_interval_ms": { "u64": "500" }, "random_beacon_reduction_allowed_delta": { "u16": "800" }, "random_beacon_reduction_lower_bound": { "u32": "1000" }, "reward_slashing_rate": { "u64": "10000" }, "scorer_version": null, "storage_gas_price": { "u64": "76" }, "storage_rebate_rate": { "u64": "10000" }, "string_check_utf8_base_cost": { "u64": "52" }, "string_check_utf8_per_byte_cost": { "u64": "2" }, "string_index_of_base_cost": { "u64": "52" }, "string_index_of_per_byte_pattern_cost": { "u64": "2" }, "string_index_of_per_byte_searched_cost": { "u64": "2" }, "string_is_char_boundary_base_cost": { "u64": "52" }, "string_sub_string_base_cost": { "u64": "52" }, "string_sub_string_per_byte_cost": { "u64": "2" }, "transfer_freeze_object_cost_base": { "u64": "52" }, "transfer_receive_object_cost_base": { "u64": "52" }, "transfer_share_object_cost_base": { "u64": "52" }, "transfer_transfer_internal_cost_base": { "u64": "52" }, "tx_context_derive_id_cost_base": { "u64": "52" }, "tx_context_digest_cost_base": null, "tx_context_epoch_cost_base": null, "tx_context_epoch_timestamp_ms_cost_base": null, "tx_context_fresh_id_cost_base": null, "tx_context_gas_budget_cost_base": null, "tx_context_gas_price_cost_base": null, "tx_context_ids_created_cost_base": null, "tx_context_replace_cost_base": null, "tx_context_rgp_cost_base": null, "tx_context_sender_cost_base": null, "tx_context_sponsor_cost_base": null, "type_name_get_base_cost": { "u64": "52" }, "type_name_get_per_byte_cost": { "u64": "2" }, "types_is_one_time_witness_cost_base": { "u64": "52" }, "types_is_one_time_witness_type_cost_per_byte": { "u64": "2" }, "types_is_one_time_witness_type_tag_cost_per_byte": { "u64": "2" }, "validator_target_reward": { "u64": "767000000000000" }, "validator_validate_metadata_cost_base": { "u64": "20000" }, "validator_validate_metadata_data_cost_per_byte": { "u64": "2" }, "vdf_hash_to_input_cost": { "u64": "100" }, "vdf_verify_vdf_cost": { "u64": "1500" }, "vector_borrow_base_cost": { "u64": "52" }, "vector_destroy_empty_base_cost": { "u64": "52" }, "vector_empty_base_cost": { "u64": "52" }, "vector_length_base_cost": { "u64": "52" }, "vector_pop_back_base_cost": { "u64": "52" }, "vector_push_back_base_cost": { "u64": "52" }, "vector_push_back_legacy_per_abstract_memory_unit_cost": { "u64": "2" }, "vector_swap_base_cost": { "u64": "52" } } } } } ] }, { "name": "iota_getTotalTransactionBlocks", "tags": [ { "name": "Read API" } ], "description": "Return the total number of transaction blocks known to the server.", "params": [], "result": { "name": "String", "required": true, "schema": { "type": "string" } }, "examples": [ { "name": "Gets total number of transactions on the network.", "params": [], "result": { "name": "Result", "value": "2451485" } } ] }, { "name": "iota_getTransactionBlock", "tags": [ { "name": "Read API" } ], "description": "Return the transaction response object.", "params": [ { "name": "digest", "description": "the digest of the queried transaction", "required": true, "schema": { "$ref": "#/components/schemas/Base58" } }, { "name": "options", "description": "options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/TransactionBlockResponseOptions" } } ], "result": { "name": "IotaTransactionBlockResponse", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockResponse" } }, "examples": [ { "name": "Returns the transaction response object for specified transaction digest.", "params": [ { "name": "digest", "value": "FpGNjXf3aHK61cqMAxLVaaRAzU7Dav8QW6DNg5qnGo3x" }, { "name": "options", "value": { "showInput": true, "showRawInput": false, "showEffects": true, "showEvents": true, "showObjectChanges": false, "showBalanceChanges": false, "showRawEffects": false } } ], "result": { "name": "Result", "value": { "digest": "FpGNjXf3aHK61cqMAxLVaaRAzU7Dav8QW6DNg5qnGo3x", "transaction": { "data": { "messageVersion": "v1", "transaction": { "kind": "ProgrammableTransaction", "inputs": [ { "type": "pure", "valueType": "address", "value": "0x8196d048b7a6d04c8edc89579d86fd3fc90c52f9a14c6b812b94fe613c5bcebb" }, { "type": "object", "objectType": "immOrOwnedObject", "objectId": "0x5eeb1d449e2516166d57d71fdeb154d0dc9ecdb7b30057d0a932684cac352cdc", "version": "2", "digest": "GK4NxEKSrK88XkPNeuBqtJYPmU9yMTWMD7K9TdU4ybKN" } ], "transactions": [ { "TransferObjects": [ [ { "Input": 1 } ], { "Input": 0 } ] } ] }, "sender": "0xeb126769c0e4c365a80a2a9332872d7ed1f0b66d31a7eae33ee136996c1f3638", "gasData": { "payment": [ { "objectId": "0x1a3e898029d024eec1d44c6af5e2facded84d03b5373514f16e3d66e00081051", "version": 2, "digest": "7nDZ5J4VyvYGUbX2f6mQdhkr3RFrb3vZqui1ogoyApD9" } ], "owner": "0xeb126769c0e4c365a80a2a9332872d7ed1f0b66d31a7eae33ee136996c1f3638", "price": "10", "budget": "100000" } }, "txSignatures": [ "ANuc6Egqqzpiy6qWWkI//Z9jAe0WmcGYigz0oWlk2CGYZ7XRnmhJuMRa78wLabwcwomzIpXdEZgpkaJtDJd/fQZtCxWrqsEEHAdxoMDwblU5hyWJ8H3zFvk20E2fO5bzHA==" ] }, "rawTransaction": "AQAAAAAAAgAggZbQSLem0EyO3IlXnYb9P8kMUvmhTGuBK5T+YTxbzrsBAF7rHUSeJRYWbVfXH96xVNDcns23swBX0KkyaEysNSzcAgAAAAAAAAAg43+UGkUe+CCaD7+/G1SbK7Jrjq7giJUUbfJ7w88mEMEBAQEBAQABAADrEmdpwOTDZagKKpMyhy1+0fC2bTGn6uM+4TaZbB82OAEaPomAKdAk7sHUTGr14vrN7YTQO1NzUU8W49ZuAAgQUQIAAAAAAAAAIGS7c6HtWLLBiwy/N3eS4gbmuA1NXupk4ucFY7FYkCbE6xJnacDkw2WoCiqTMoctftHwtm0xp+rjPuE2mWwfNjgKAAAAAAAAAKCGAQAAAAAAAAFhANuc6Egqqzpiy6qWWkI//Z9jAe0WmcGYigz0oWlk2CGYZ7XRnmhJuMRa78wLabwcwomzIpXdEZgpkaJtDJd/fQZtCxWrqsEEHAdxoMDwblU5hyWJ8H3zFvk20E2fO5bzHA==", "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "6AyFnAuKAKCqm1cD94EyGzBqJCDDJ716ojjmsKF2rqoi", "mutated": [ { "owner": { "AddressOwner": "0xeb126769c0e4c365a80a2a9332872d7ed1f0b66d31a7eae33ee136996c1f3638" }, "reference": { "objectId": "0x1a3e898029d024eec1d44c6af5e2facded84d03b5373514f16e3d66e00081051", "version": 2, "digest": "7nDZ5J4VyvYGUbX2f6mQdhkr3RFrb3vZqui1ogoyApD9" } }, { "owner": { "AddressOwner": "0x8196d048b7a6d04c8edc89579d86fd3fc90c52f9a14c6b812b94fe613c5bcebb" }, "reference": { "objectId": "0x5eeb1d449e2516166d57d71fdeb154d0dc9ecdb7b30057d0a932684cac352cdc", "version": 2, "digest": "GK4NxEKSrK88XkPNeuBqtJYPmU9yMTWMD7K9TdU4ybKN" } } ], "gasObject": { "owner": { "ObjectOwner": "0xeb126769c0e4c365a80a2a9332872d7ed1f0b66d31a7eae33ee136996c1f3638" }, "reference": { "objectId": "0x1a3e898029d024eec1d44c6af5e2facded84d03b5373514f16e3d66e00081051", "version": 2, "digest": "7nDZ5J4VyvYGUbX2f6mQdhkr3RFrb3vZqui1ogoyApD9" } }, "eventsDigest": "9BQobwxQvJ1JxSXNn8v8htZPTu8FEzJJGgcD4kgLUuMd" }, "objectChanges": [ { "type": "transferred", "sender": "0xeb126769c0e4c365a80a2a9332872d7ed1f0b66d31a7eae33ee136996c1f3638", "recipient": { "AddressOwner": "0x8196d048b7a6d04c8edc89579d86fd3fc90c52f9a14c6b812b94fe613c5bcebb" }, "objectType": "0x2::example::Object", "objectId": "0x5eeb1d449e2516166d57d71fdeb154d0dc9ecdb7b30057d0a932684cac352cdc", "version": "2", "digest": "64UQ3a7m1mjWuzgyGoH8RnMyPGDN4XYTC9dS4qiSfdK4" } ] } } } ] }, { "name": "iota_isTransactionIndexedOnNode", "tags": [ { "name": "Read API" } ], "description": "Return if the transaction has been indexed on the fullnode.", "params": [ { "name": "digest", "description": "the digest of the queried transaction", "required": true, "schema": { "$ref": "#/components/schemas/Base58" } } ], "result": { "name": "bool", "required": true, "schema": { "type": "boolean" } }, "examples": [ { "name": "Returns if the transaction has been indexed on the fullnode.", "params": [ { "name": "digest", "value": "Gox564afxEVubGFZPXbDSCiirfN1QYVdMR3pivs34HoC" } ], "result": { "name": "Result", "value": true } } ] }, { "name": "iota_multiGetObjects", "tags": [ { "name": "Read API" } ], "description": "Return the object data for a list of objects", "params": [ { "name": "object_ids", "description": "the IDs of the queried objects", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, { "name": "options", "description": "options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/ObjectDataOptions" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IotaObjectResponse" } } }, "examples": [ { "name": "Gets objects by IDs.", "params": [ { "name": "object_ids", "value": [ "0x504d411325e3c7f89d412044fe99007efb0f94f1e64d2e8090c619a39299d87e", "0x23618df6438d21a48040e6bb568cafc13246bd847c60448160e0358cac4a1134", "0x8b95b4eaa9fd3b22b43f6b2c8e92090bd6d16522a6fd4fa83ec70a5f197ad656", "0x3fbbd3ebef7dbcc7b02346cdf05674452cc61f316af5d5d7c02b94b023242685", "0x9b5cd5df0df2a168259b7115a41ccc0a372b6fd0026e0c63043492ce4d0c19a6" ] }, { "name": "options", "value": { "showType": true, "showOwner": true, "showPreviousTransaction": true, "showDisplay": false, "showContent": true, "showBcs": false, "showStorageRebate": true } } ], "result": { "name": "Result", "value": [ { "data": { "objectId": "0x504d411325e3c7f89d412044fe99007efb0f94f1e64d2e8090c619a39299d87e", "version": "1", "digest": "AibMqH69gKT5t7rVTsDZFy2X5iHtoNDobKaZ62mg3FCU", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0xe8070b5f56bb10bafa0e2261d819b2582f82ab308bf9c96dfb22ec7345db1b5f" }, "previousTransaction": "2QwXW3qzMEZPAyyP9VHtXbC2tp7iomypQc5XnkyPsu5d", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "100000000", "id": { "id": "0x504d411325e3c7f89d412044fe99007efb0f94f1e64d2e8090c619a39299d87e" } } } } }, { "data": { "objectId": "0x23618df6438d21a48040e6bb568cafc13246bd847c60448160e0358cac4a1134", "version": "1", "digest": "D5W76mT1A3tqCmE1Z5MdV5obNzesMXLfLKpRDHSp1fyz", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x5594d02890c986dbf328d28d21acece356d10d89e75f565b0934851ba8d5bc59" }, "previousTransaction": "5itvhMFvtJcV6fY2VY4x7F9Ex18q2N4Rr5WU4FXTJsFU", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "100000000", "id": { "id": "0x23618df6438d21a48040e6bb568cafc13246bd847c60448160e0358cac4a1134" } } } } }, { "data": { "objectId": "0x8b95b4eaa9fd3b22b43f6b2c8e92090bd6d16522a6fd4fa83ec70a5f197ad656", "version": "1", "digest": "H2o2pWgceQgTtYrMacR4xnCi4vqGiuozDA6k2rBc4m3q", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0xda104dde1de9880be827a1a753e502ebcdfec53f33e745e3f021366b7bc47c2b" }, "previousTransaction": "8rsTRNPs13DZvD2xneZEtf2nAAipep6uHXPXWVXfzDBr", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "100000000", "id": { "id": "0x8b95b4eaa9fd3b22b43f6b2c8e92090bd6d16522a6fd4fa83ec70a5f197ad656" } } } } }, { "data": { "objectId": "0x3fbbd3ebef7dbcc7b02346cdf05674452cc61f316af5d5d7c02b94b023242685", "version": "1", "digest": "3ovR1s3bZt6AN1AQ7QhGUfX9BSwgjJPvL6XaczgeSKXU", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x00a65bf5fdccb50582333b61721e6963a25f25ac8ead5916a83f49a7b372eae7" }, "previousTransaction": "3w6ars2tmgBST4ozGxPWzSpEGyn4AdxMBv3K9sdkCWfR", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "100000000", "id": { "id": "0x3fbbd3ebef7dbcc7b02346cdf05674452cc61f316af5d5d7c02b94b023242685" } } } } }, { "data": { "objectId": "0x9b5cd5df0df2a168259b7115a41ccc0a372b6fd0026e0c63043492ce4d0c19a6", "version": "1", "digest": "25QdFqrh9FgxhGQyAxZsNEakYmHezqmU3FMPud7JGRB5", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x3e7f360c51d035a6470f09c8d23716e4085025b89d176840d61dde92a452a72f" }, "previousTransaction": "BE9GoMd7Mr8fGte3EdsXxUMwYjcErW71n6Gsm4iPvDmv", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "100000000", "id": { "id": "0x9b5cd5df0df2a168259b7115a41ccc0a372b6fd0026e0c63043492ce4d0c19a6" } } } } } ] } } ] }, { "name": "iota_multiGetTransactionBlocks", "tags": [ { "name": "Read API" } ], "description": "Returns an ordered list of transaction responses The method will throw an error if the input contains any duplicate or the input size exceeds QUERY_MAX_RESULT_LIMIT", "params": [ { "name": "digests", "description": "A list of transaction digests.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Base58" } } }, { "name": "options", "description": "config options to control which fields to fetch", "schema": { "$ref": "#/components/schemas/TransactionBlockResponseOptions" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TransactionBlockResponse" } } }, "examples": [ { "name": "Returns the transaction data for specified digest.", "params": [ { "name": "digests", "value": [ "Hj12H7iuX6ejEQCtbA2saQpa1i68f9d2CWxxgQo9QbpY", "81rKmx5TmSzq8UK51rwHS6gQdUg618JHoa4oUxB3opb", "AhdWMs5P16iyATKbiZ1vhoAj11Q9xKA7r9XTJDB5wFes" ] }, { "name": "options", "value": { "showInput": true, "showRawInput": false, "showEffects": true, "showEvents": true, "showObjectChanges": false, "showBalanceChanges": false, "showRawEffects": false } } ], "result": { "name": "Result", "value": [ { "digest": "Hj12H7iuX6ejEQCtbA2saQpa1i68f9d2CWxxgQo9QbpY", "transaction": { "data": { "messageVersion": "v1", "transaction": { "kind": "ProgrammableTransaction", "inputs": [ { "type": "pure", "valueType": "address", "value": "0x7a8e9a0d074f90fddb42cd928f74b986c6f539a734f3d7c9a75a9cb227ec3157" }, { "type": "object", "objectType": "immOrOwnedObject", "objectId": "0x24962ee4193c8c0d2fb28bbe0eb4ba5fc87a2c6d1a7c12c9454872c5ea06d5e1", "version": "2", "digest": "3gmeyj5oEdE8A4PvjWsDSHchC6tb6YQj18gnD7xnDqGz" } ], "transactions": [ { "TransferObjects": [ [ { "Input": 1 } ], { "Input": 0 } ] } ] }, "sender": "0x235c77b62592fd410cb9eb3c6a77aebddd1ff931aee26094b6702dfc1f65a905", "gasData": { "payment": [ { "objectId": "0x9585d5591521bfd12dec3a372efd539108ba807a0dabed6e5da0f174efc3f58e", "version": 2, "digest": "JAgYeYMPm5VLzBYcYxxQUEatfG9gHdFqSNwmBBS41Bri" } ], "owner": "0x235c77b62592fd410cb9eb3c6a77aebddd1ff931aee26094b6702dfc1f65a905", "price": "10", "budget": "100000" } }, "txSignatures": [ "ADXpbKNNpRW1Csi96IkAhv0CbvRO5D4Wx+iZ4S+k7SjACqqMtyW08Y0TFpydk9mrx9vb5qKyFAqgx4GDVgV/fQmnSicGHWn+0mf3oSb/LUa5i+dDAEb1qsgy7LkQ8hbr+w==" ] }, "rawTransaction": "AQAAAAAAAgAgeo6aDQdPkP3bQs2Sj3S5hsb1Oac089fJp1qcsifsMVcBACSWLuQZPIwNL7KLvg60ul/IeixtGnwSyUVIcsXqBtXhAgAAAAAAAAAgJ+eEST+x3M3niTo6xcZ80sTidUC1LugoCWsqpf5Qp+8BAQEBAQABAAAjXHe2JZL9QQy56zxqd6693R/5Ma7iYJS2cC38H2WpBQGVhdVZFSG/0S3sOjcu/VORCLqAeg2r7W5doPF078P1jgIAAAAAAAAAIP8RnpL1eudNGyUNXfLLUXB4KopDj79oHt7U0eCizX37I1x3tiWS/UEMues8aneuvd0f+TGu4mCUtnAt/B9lqQUKAAAAAAAAAKCGAQAAAAAAAAFhADXpbKNNpRW1Csi96IkAhv0CbvRO5D4Wx+iZ4S+k7SjACqqMtyW08Y0TFpydk9mrx9vb5qKyFAqgx4GDVgV/fQmnSicGHWn+0mf3oSb/LUa5i+dDAEb1qsgy7LkQ8hbr+w==", "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "2SY11dmdTQv6JLD2wqcsMiJNqXbXUkn87Rzw5NHib8Mf", "mutated": [ { "owner": { "AddressOwner": "0x235c77b62592fd410cb9eb3c6a77aebddd1ff931aee26094b6702dfc1f65a905" }, "reference": { "objectId": "0x9585d5591521bfd12dec3a372efd539108ba807a0dabed6e5da0f174efc3f58e", "version": 2, "digest": "JAgYeYMPm5VLzBYcYxxQUEatfG9gHdFqSNwmBBS41Bri" } }, { "owner": { "AddressOwner": "0x7a8e9a0d074f90fddb42cd928f74b986c6f539a734f3d7c9a75a9cb227ec3157" }, "reference": { "objectId": "0x24962ee4193c8c0d2fb28bbe0eb4ba5fc87a2c6d1a7c12c9454872c5ea06d5e1", "version": 2, "digest": "3gmeyj5oEdE8A4PvjWsDSHchC6tb6YQj18gnD7xnDqGz" } } ], "gasObject": { "owner": { "ObjectOwner": "0x235c77b62592fd410cb9eb3c6a77aebddd1ff931aee26094b6702dfc1f65a905" }, "reference": { "objectId": "0x9585d5591521bfd12dec3a372efd539108ba807a0dabed6e5da0f174efc3f58e", "version": 2, "digest": "JAgYeYMPm5VLzBYcYxxQUEatfG9gHdFqSNwmBBS41Bri" } }, "eventsDigest": "DkaTtjSfULiQ7FT48kzuS7yKj2JUAWGgjDBXddqn1z9o" }, "objectChanges": [ { "type": "transferred", "sender": "0x235c77b62592fd410cb9eb3c6a77aebddd1ff931aee26094b6702dfc1f65a905", "recipient": { "AddressOwner": "0x7a8e9a0d074f90fddb42cd928f74b986c6f539a734f3d7c9a75a9cb227ec3157" }, "objectType": "0x2::example::Object", "objectId": "0x24962ee4193c8c0d2fb28bbe0eb4ba5fc87a2c6d1a7c12c9454872c5ea06d5e1", "version": "2", "digest": "J4k64LwycebB7TQhKrPaZ954yCK64rwbDJMSrSUW4Ba4" } ] }, { "digest": "81rKmx5TmSzq8UK51rwHS6gQdUg618JHoa4oUxB3opb", "transaction": { "data": { "messageVersion": "v1", "transaction": { "kind": "ProgrammableTransaction", "inputs": [ { "type": "pure", "valueType": "address", "value": "0xc3e4f846a282754946e181e00f4341a53b5e895ef8ec3c73d2378a0a11825e23" }, { "type": "object", "objectType": "immOrOwnedObject", "objectId": "0x2fac1a70e20e146fb1303bd60eb4bea9bd453e50690b423241f0e2e9beabd601", "version": "2", "digest": "HyJbrm9Th6ox4oU9vrrRzgZSaCu1n3omMJ1fAcHswvvo" } ], "transactions": [ { "TransferObjects": [ [ { "Input": 1 } ], { "Input": 0 } ] } ] }, "sender": "0xf528c54e5aa9397aa10a66ec4455fd4b49735ac19e5a0deed050c755ca98d29c", "gasData": { "payment": [ { "objectId": "0xbbdabf2828ee9ca7e4227a61cff851fef9fb6a08ae444c96f9810275d6af973c", "version": 2, "digest": "snEA8RNnDvsYjKJx2NMUP49TMjoAuQXx3LJgwe4qo9B" } ], "owner": "0xf528c54e5aa9397aa10a66ec4455fd4b49735ac19e5a0deed050c755ca98d29c", "price": "10", "budget": "100000" } }, "txSignatures": [ "AOTioLzQMACPuS2iB1FJBbTHnd/VTto9n+JwEeO5DtKAcAxQWN+MWuWGl8Th42XkVv2wqe8OG39I+Jji11TORgQLoJG5hufQ9rzjXn1UVSbD7HyPVZykOZAICGCiqQMgGw==" ] }, "rawTransaction": "AQAAAAAAAgAgw+T4RqKCdUlG4YHgD0NBpTteiV747Dxz0jeKChGCXiMBAC+sGnDiDhRvsTA71g60vqm9RT5QaQtCMkHw4um+q9YBAgAAAAAAAAAg/Cdq6qc8DsEltgkKJ7uvql/DLnVzYS0husigmreRU3QBAQEBAQABAAD1KMVOWqk5eqEKZuxEVf1LSXNawZ5aDe7QUMdVypjSnAG72r8oKO6cp+QiemHP+FH++ftqCK5ETJb5gQJ11q+XPAIAAAAAAAAAIA0CLbniGg8JvLiQdz0RwavXF2ex9nqAQCZ3iCA/OXci9SjFTlqpOXqhCmbsRFX9S0lzWsGeWg3u0FDHVcqY0pwKAAAAAAAAAKCGAQAAAAAAAAFhAOTioLzQMACPuS2iB1FJBbTHnd/VTto9n+JwEeO5DtKAcAxQWN+MWuWGl8Th42XkVv2wqe8OG39I+Jji11TORgQLoJG5hufQ9rzjXn1UVSbD7HyPVZykOZAICGCiqQMgGw==", "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "69bh3Q9RhRgMFKwmQn8LYE8vYujFTpYyUSVBht3oYkm6", "mutated": [ { "owner": { "AddressOwner": "0xf528c54e5aa9397aa10a66ec4455fd4b49735ac19e5a0deed050c755ca98d29c" }, "reference": { "objectId": "0xbbdabf2828ee9ca7e4227a61cff851fef9fb6a08ae444c96f9810275d6af973c", "version": 2, "digest": "snEA8RNnDvsYjKJx2NMUP49TMjoAuQXx3LJgwe4qo9B" } }, { "owner": { "AddressOwner": "0xc3e4f846a282754946e181e00f4341a53b5e895ef8ec3c73d2378a0a11825e23" }, "reference": { "objectId": "0x2fac1a70e20e146fb1303bd60eb4bea9bd453e50690b423241f0e2e9beabd601", "version": 2, "digest": "HyJbrm9Th6ox4oU9vrrRzgZSaCu1n3omMJ1fAcHswvvo" } } ], "gasObject": { "owner": { "ObjectOwner": "0xf528c54e5aa9397aa10a66ec4455fd4b49735ac19e5a0deed050c755ca98d29c" }, "reference": { "objectId": "0xbbdabf2828ee9ca7e4227a61cff851fef9fb6a08ae444c96f9810275d6af973c", "version": 2, "digest": "snEA8RNnDvsYjKJx2NMUP49TMjoAuQXx3LJgwe4qo9B" } }, "eventsDigest": "4Vh6HmG6PwdbZbMiMwj9YnKvsMnP3gfhLmAd288eujv4" }, "objectChanges": [ { "type": "transferred", "sender": "0xf528c54e5aa9397aa10a66ec4455fd4b49735ac19e5a0deed050c755ca98d29c", "recipient": { "AddressOwner": "0xc3e4f846a282754946e181e00f4341a53b5e895ef8ec3c73d2378a0a11825e23" }, "objectType": "0x2::example::Object", "objectId": "0x2fac1a70e20e146fb1303bd60eb4bea9bd453e50690b423241f0e2e9beabd601", "version": "2", "digest": "CHia3BiES8mt5kqMYhzBpjAeLRpjcsMNDMFakBAdcVAg" } ] }, { "digest": "AhdWMs5P16iyATKbiZ1vhoAj11Q9xKA7r9XTJDB5wFes", "transaction": { "data": { "messageVersion": "v1", "transaction": { "kind": "ProgrammableTransaction", "inputs": [ { "type": "pure", "valueType": "address", "value": "0x0388c28ddd5977a58e206acd19639c875a4fbecf3342b825c8384300ac7e3bad" }, { "type": "object", "objectType": "immOrOwnedObject", "objectId": "0xc820a75b574224b920aa9b005093b820df24ef8b43715499f4fff4e056c0cd5c", "version": "2", "digest": "6jsxetsBSZJ5ozgZuDmHXJzn9ZBp8emivfYHe6tnHg7C" } ], "transactions": [ { "TransferObjects": [ [ { "Input": 1 } ], { "Input": 0 } ] } ] }, "sender": "0xc14b8463f3b1bc524043bd03c25f673ec576debde0096727f95524f0f555f6bb", "gasData": { "payment": [ { "objectId": "0xd8024b4b39a7fed27134b073da8638454111396519379e888c83abaf0e600504", "version": 2, "digest": "9CpH2aW4XPVxaZBGHRwHueXEQUvN3Pf7JQpASHiEsNCw" } ], "owner": "0xc14b8463f3b1bc524043bd03c25f673ec576debde0096727f95524f0f555f6bb", "price": "10", "budget": "100000" } }, "txSignatures": [ "AAUbCJPG4NRwCaIP0fhIYKgbCj73YH4jG+aLybQnwzniioDlLXeALtmzQiVcO/c/muVfegYm9quaAuTXkseXdwrBLYrHKlE7PwRVuJjmBwbiSpqS0m/j+PFnALfPM5bN1Q==" ] }, "rawTransaction": "AQAAAAAAAgAgA4jCjd1Zd6WOIGrNGWOch1pPvs8zQrglyDhDAKx+O60BAMggp1tXQiS5IKqbAFCTuCDfJO+LQ3FUmfT/9OBWwM1cAgAAAAAAAAAgVUZy4Te1Cxp8iyTYMxDI9sRo5v6QbaCnpymsaNySaNMBAQEBAQABAADBS4Rj87G8UkBDvQPCX2c+xXbeveAJZyf5VSTw9VX2uwHYAktLOaf+0nE0sHPahjhFQRE5ZRk3noiMg6uvDmAFBAIAAAAAAAAAIHnkVv8BP1ZT2rttbJXd19NaQtMfOpvru2g9tm6KBnBowUuEY/OxvFJAQ70Dwl9nPsV23r3gCWcn+VUk8PVV9rsKAAAAAAAAAKCGAQAAAAAAAAFhAAUbCJPG4NRwCaIP0fhIYKgbCj73YH4jG+aLybQnwzniioDlLXeALtmzQiVcO/c/muVfegYm9quaAuTXkseXdwrBLYrHKlE7PwRVuJjmBwbiSpqS0m/j+PFnALfPM5bN1Q==", "effects": { "messageVersion": "v1", "status": { "status": "success" }, "executedEpoch": "0", "gasUsed": { "computationCost": "100", "computationCostBurned": "100", "storageCost": "100", "storageRebate": "10", "nonRefundableStorageFee": "0" }, "transactionDigest": "DzJWHtFNHttaBdpECZGDMF7tcx5NYZfNfCk5NsaaRgmn", "mutated": [ { "owner": { "AddressOwner": "0xc14b8463f3b1bc524043bd03c25f673ec576debde0096727f95524f0f555f6bb" }, "reference": { "objectId": "0xd8024b4b39a7fed27134b073da8638454111396519379e888c83abaf0e600504", "version": 2, "digest": "9CpH2aW4XPVxaZBGHRwHueXEQUvN3Pf7JQpASHiEsNCw" } }, { "owner": { "AddressOwner": "0x0388c28ddd5977a58e206acd19639c875a4fbecf3342b825c8384300ac7e3bad" }, "reference": { "objectId": "0xc820a75b574224b920aa9b005093b820df24ef8b43715499f4fff4e056c0cd5c", "version": 2, "digest": "6jsxetsBSZJ5ozgZuDmHXJzn9ZBp8emivfYHe6tnHg7C" } } ], "gasObject": { "owner": { "ObjectOwner": "0xc14b8463f3b1bc524043bd03c25f673ec576debde0096727f95524f0f555f6bb" }, "reference": { "objectId": "0xd8024b4b39a7fed27134b073da8638454111396519379e888c83abaf0e600504", "version": 2, "digest": "9CpH2aW4XPVxaZBGHRwHueXEQUvN3Pf7JQpASHiEsNCw" } }, "eventsDigest": "Bbh3U8fCxVzdX6uZUNWRzZrUktcUfWcydhWCMyWJSPpt" }, "objectChanges": [ { "type": "transferred", "sender": "0xc14b8463f3b1bc524043bd03c25f673ec576debde0096727f95524f0f555f6bb", "recipient": { "AddressOwner": "0x0388c28ddd5977a58e206acd19639c875a4fbecf3342b825c8384300ac7e3bad" }, "objectType": "0x2::example::Object", "objectId": "0xc820a75b574224b920aa9b005093b820df24ef8b43715499f4fff4e056c0cd5c", "version": "2", "digest": "HaFQHEJugXDGh95A9Ye1tp7GikbuAQNiEanrQuVLvpfz" } ] } ] } } ] }, { "name": "iota_tryGetPastObject", "tags": [ { "name": "Read API" } ], "description": "Note there is no software-level guarantee/SLA that objects with past versions can be retrieved by this API, even if the object and version exists/existed. The result may vary across nodes depending on their pruning policies. Return the object information for a specified version", "params": [ { "name": "object_id", "description": "the ID of the queried object", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "version", "description": "the version of the queried object. If None, default to the latest known version", "required": true, "schema": { "$ref": "#/components/schemas/SequenceNumberU64" } }, { "name": "options", "description": "options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/ObjectDataOptions" } } ], "result": { "name": "IotaPastObjectResponse", "required": true, "schema": { "$ref": "#/components/schemas/ObjectRead" } }, "examples": [ { "name": "Gets Past Object data.", "params": [ { "name": "object_id", "value": "0x11af4b844ff94b3fbef6e36b518da3ad4c5856fa686464524a876b463d129760" }, { "name": "version", "value": 4 }, { "name": "options", "value": { "showType": true, "showOwner": true, "showPreviousTransaction": true, "showDisplay": false, "showContent": true, "showBcs": false, "showStorageRebate": true } } ], "result": { "name": "Result", "value": { "status": "VersionFound", "details": { "objectId": "0x11af4b844ff94b3fbef6e36b518da3ad4c5856fa686464524a876b463d129760", "version": "4", "digest": "5VPAwDXy3BL72ehFc7gSJoz27ahMd6spUg5YwYc4ibcv", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x3568c40e814d9d5396d23087a0fd641e91e0e00df6c012cded9ef9ba5e5bf042" }, "previousTransaction": "5jQByoouHBwaico5pQB73GdbzerC2StjTiHh5garBjiV", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "10000", "id": { "id": "0x11af4b844ff94b3fbef6e36b518da3ad4c5856fa686464524a876b463d129760" } } } } } } } ] }, { "name": "iota_tryMultiGetPastObjects", "tags": [ { "name": "Read API" } ], "description": "Note there is no software-level guarantee/SLA that objects with past versions can be retrieved by this API, even if the object and version exists/existed. The result may vary across nodes depending on their pruning policies. Return the object information for a specified version", "params": [ { "name": "past_objects", "description": "a vector of object and versions to be queried", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GetPastObjectRequest" } } }, { "name": "options", "description": "options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/ObjectDataOptions" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectRead" } } }, "examples": [ { "name": "Gets Past Object data for a vector of objects.", "params": [ { "name": "past_objects", "value": [ { "objectId": "0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf", "version": "4" }, { "objectId": "0x5cd6fa76ed1d18f05f15e35075252ddec4fb83621d55952d9172fcfcb72feae2", "version": "12" } ] }, { "name": "options", "value": { "showType": true, "showOwner": true, "showPreviousTransaction": true, "showDisplay": false, "showContent": true, "showBcs": false, "showStorageRebate": true } } ], "result": { "name": "Result", "value": [ { "status": "VersionFound", "details": { "objectId": "0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf", "version": "4", "digest": "5pCqw4G6F1hXcukW3XwhBzas9RqeFrUkvNon5jgX3ewg", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x38b3186a7bb26a1ab2c982a0a9b482aa70f5a010fffc60f20194ef0f597474e8" }, "previousTransaction": "EupJisi3AynCmcFyhkX1azsVtR6vun1Uaf7WSRCE82jx", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "10000", "id": { "id": "0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf" } } } } }, { "status": "VersionFound", "details": { "objectId": "0x5cd6fa76ed1d18f05f15e35075252ddec4fb83621d55952d9172fcfcb72feae2", "version": "12", "digest": "CE9bNT96Sa2BxQQH2id4PRxTgW5TW7zm6VVhDeRNBegW", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x54b3c61936f77fcfdaa213c2f7b4fb1b51ef9f3ed66000c0e45697dbee095479" }, "previousTransaction": "hvBGBXvKVhC7XYgVPujuiLjxASR6UGAkSFrCRtVxX1F", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "fields": { "balance": "20000", "id": { "id": "0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf" } } } } } ] } } ] }, { "name": "iota_view", "tags": [ { "name": "Write API" } ], "description": "Calls a move view function.", "params": [ { "name": "function_name", "description": "The fully qualified function name `::::`. E.g. `0x3::iota_system::get_total_iota_supply`.", "required": true, "schema": { "type": "string" } }, { "name": "type_args", "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TypeTag" } } }, { "name": "arguments", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IotaJsonValue" } } } ], "result": { "name": "IotaMoveViewCallResults", "required": true, "schema": { "$ref": "#/components/schemas/IotaMoveViewCallResults" } } }, { "name": "iotax_getAllBalances", "tags": [ { "name": "Coin Query API" } ], "description": "Return the total coin balance for all coin type, owned by the address owner.", "params": [ { "name": "owner", "description": "the owner's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Balance" } } }, "examples": [ { "name": "Gets all balances for the address in the request.", "params": [ { "name": "owner", "value": "0x94f1a597b4e8f709a396f7f6b1482bdcd65a673d111e49286c527fab7c2d0961" } ], "result": { "name": "Result", "value": [ { "coinType": "0x2::iota::IOTA", "coinObjectCount": 15, "totalBalance": "3000000000" } ] } } ] }, { "name": "iotax_getAllCoins", "tags": [ { "name": "Coin Query API" } ], "description": "Return all Coin objects owned by an address.", "params": [ { "name": "owner", "description": "the owner's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "cursor", "description": "optional paging cursor", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "limit", "description": "maximum number of items per page", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_Coin_and_ObjectID" } }, "examples": [ { "name": "Gets all coins for the address in the request body. Begin listing the coins that are after the provided `cursor` value and return only the `limit` amount of results per page.", "params": [ { "name": "owner", "value": "0x41f5975e3c6bd5c95f041a8493ad7e9934be26e69152d2c2e86d8a9bdbd242b3" }, { "name": "cursor", "value": "0x2564cd31a71cf9833609b111436d8f0f47b7f8b9927ec3f8975a1dcbf9b25564" }, { "name": "limit", "value": 3 } ], "result": { "name": "Result", "value": { "data": [ { "coinType": "0x2::iota::IOTA", "coinObjectId": "0x91825debff541cf4e08b5c5f7296ff9840e6f0b185af93984cde8cf3870302c0", "version": "103626", "digest": "7dp5WtTmtGp83EXYYFMzjBJRFeSgR67AzqMETLrfgeFx", "balance": "200000000", "previousTransaction": "9WfFUVhjbbh4tWkyUse1QxzbKX952cyXScH7xJNPB2vQ" }, { "coinType": "0x2::iota::IOTA", "coinObjectId": "0x48a53f22e2e901ea2a5bf44fdd5bb94a1d83b6efc4dd779f0890ca3b1f6ba997", "version": "103626", "digest": "9xLdMXezY8d1yRA2TtN6pYjapyy2EVKHWNriGPFGCFvd", "balance": "200000000", "previousTransaction": "Byq9SyV7x6fvzaf88YRA9JM8vLbVLJAqUX8pESDmKcgw" }, { "coinType": "0x2::iota::IOTA", "coinObjectId": "0x6867fcc63161269c5c0c73b02229486bbaff319209dfb8299ced3b8609037997", "version": "103626", "digest": "5xexWFq6QpGHBQyC9P2cbAJXq9qm2EjzfuRM9NwS1uyG", "balance": "200000000", "previousTransaction": "CEjwHmo98nAiYhSMfKoSDvUMtfKJ6ge6Uj4wKotK4MPZ" } ], "nextCursor": "0x861c5e055605b2bb1199faf653a8771e448930bc95a0369fad43a9870a2e5878", "hasNextPage": true } } } ] }, { "name": "iotax_getAllEpochAddressMetrics", "tags": [ { "name": "Extended API" } ], "description": "Address related metrics. Exclusively served by the indexer.", "params": [ { "name": "descending_order", "schema": { "type": "boolean" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AddressMetrics" } } } }, { "name": "iotax_getBalance", "tags": [ { "name": "Coin Query API" } ], "description": "Return the total coin balance for one coin type, owned by the address owner.", "params": [ { "name": "owner", "description": "the owner's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "coin_type", "description": "optional type names for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC), default to 0x2::iota::IOTA if not specified.", "schema": { "type": "string" } } ], "result": { "name": "Balance", "required": true, "schema": { "$ref": "#/components/schemas/Balance" } }, "examples": [ { "name": "Gets the balance of the specified type of coin for the address in the request.", "params": [ { "name": "owner", "value": "0x51ceab2edc89f74730e683ebee65578cb3bc9237ba6fca019438a9737cf156ae" }, { "name": "coin_type", "value": "0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC" } ], "result": { "name": "Result", "value": { "coinType": "0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC", "coinObjectCount": 15, "totalBalance": "15" } } } ] }, { "name": "iotax_getCheckpointAddressMetrics", "tags": [ { "name": "Extended API" } ], "description": "Address related metrics. Exclusively served by the indexer.", "params": [ { "name": "checkpoint", "required": true, "schema": { "type": "integer", "format": "uint64", "minimum": 0.0 } } ], "result": { "name": "AddressMetrics", "required": true, "schema": { "$ref": "#/components/schemas/AddressMetrics" } } }, { "name": "iotax_getCirculatingSupply", "tags": [ { "name": "Coin Query API" } ], "description": "Return the circulating supply summary.", "params": [], "result": { "name": "IotaCirculatingSupply", "required": true, "schema": { "$ref": "#/components/schemas/IotaCirculatingSupply" } } }, { "name": "iotax_getCoinMetadata", "tags": [ { "name": "Coin Query API" } ], "description": "Return metadata (e.g., symbol, decimals) for a coin.", "params": [ { "name": "coin_type", "description": "type name for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC)", "required": true, "schema": { "type": "string" } } ], "result": { "name": "IotaCoinMetadata", "schema": { "$ref": "#/components/schemas/IotaCoinMetadata" } }, "examples": [ { "name": "Gets the metadata for the coin type in the request.", "params": [ { "name": "coin_type", "value": "0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC" } ], "result": { "name": "Result", "value": { "decimals": 9, "name": "Usdc", "symbol": "USDC", "description": "Stable coin.", "iconUrl": null, "id": "0x6d907beaa3a49db57bdfdb3557e6d405cbf01c293a53e01457d65e92b5d8dd68" } } } ] }, { "name": "iotax_getCoins", "tags": [ { "name": "Coin Query API" } ], "description": "Return all Coin<`coin_type`> objects owned by an address.", "params": [ { "name": "owner", "description": "the owner's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "coin_type", "description": "optional type name for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC), default to 0x2::iota::IOTA if not specified.", "schema": { "type": "string" } }, { "name": "cursor", "description": "optional paging cursor", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "limit", "description": "maximum number of items per page", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_Coin_and_ObjectID" } }, "examples": [ { "name": "Gets all IOTA coins owned by the address provided. Return a paginated list of `limit` results per page. Similar to `iotax_getAllCoins`, but provides a way to filter by coin type.", "params": [ { "name": "owner", "value": "0xd62ca040aba24f862a763851c54908cd2a0ee7d709c11b93d4a2083747b76856" }, { "name": "coin_type", "value": "0x2::iota::IOTA" }, { "name": "cursor", "value": "0xe5c651321915b06c81838c2e370109b554a448a78d3a56220f798398dde66eab" }, { "name": "limit", "value": 3 } ], "result": { "name": "Result", "value": { "data": [ { "coinType": "0x2::iota::IOTA", "coinObjectId": "0xa5a8e30db5a798a7354340b6ea78a66f50921841ab5359ec7a3dc01f282420ae", "version": "103626", "digest": "tw5DzJTfdxTn4f3rekFrhN7dQTUezBgsEhycDobTBLb", "balance": "200000000", "previousTransaction": "HSein75AFXgdsnbABWLQ5mvjFmPFWrBFi9CMVsNn7gJr" }, { "coinType": "0x2::iota::IOTA", "coinObjectId": "0x47dfa99496428c65b2054ad7db1872b87ff05b1047bb5e3adf5257cceb08ecb4", "version": "103626", "digest": "AfgFe7ZfjJ5dWV6VAy2LbtvBFhcABkvdvwEjLrRcFqtr", "balance": "200000000", "previousTransaction": "5WHnm9jUZEtDvSvsj7HBrP5BoxA3UY6R57qqumXJXboV" }, { "coinType": "0x2::iota::IOTA", "coinObjectId": "0xd4f062dbcfc3bf73f5861945592222ff7b090ac21c8a3cf840abdc5b743da778", "version": "103626", "digest": "9er6jxigfuQEKsn9gtPV2oW1zGQRcFtKNijHVe88GUJD", "balance": "200000000", "previousTransaction": "H3gwoKE2FSLx3BwvNTTKqCsNHmg6ARzm345icHhXUAEW" } ], "nextCursor": "0xd4f062dbcfc3bf73f5861945592222ff7b090ac21c8a3cf840abdc5b743da778", "hasNextPage": true } } } ] }, { "name": "iotax_getCommitteeInfo", "tags": [ { "name": "Governance Read API" } ], "description": "Return the committee information for the asked `epoch`.", "params": [ { "name": "epoch", "description": "The epoch of interest. If None, default to the latest epoch", "schema": { "type": "string" } } ], "result": { "name": "IotaCommittee", "required": true, "schema": { "$ref": "#/components/schemas/CommitteeInfo" } }, "examples": [ { "name": "Gets committee information for epoch 5000.", "params": [ { "name": "epoch", "value": "5000" } ], "result": { "name": "Result", "value": { "epoch": "5000", "validators": [ [ "jc/20VUECmVvSBmxMRG1LFdGqGunLzlfuv4uw4R9HoFA5iSnUf32tfIFC8cgXPnTAATJCwx0Cv/TJs5nPMKyOi0k1T4q/rKG38Zo/UBgCJ1tKxe3md02+Q0zLlSnozjU", "2500" ], [ "mfJe9h+AMrkUY2RgmCxcxvE07x3a52ZX8sv+wev8jQlzdAgN9vzw3Li8Sw2OCvXYDrv/K0xZn1T0LWMS38MUJ2B4wcw0fru+xRmL4lhRPzhrkw0CwnSagD4jMJVevRoQ", "2500" ], [ "rd7vlNiYyI5A297/kcXxBfnPLHR/tvK8N+wD1ske2y4aV4z1RL6LCTHiXyQ9WbDDDZihbOO6HWzx1/UEJpkusK2zE0sFW+gUDS218l+wDYP45CIr8B/WrJOh/0152ljy", "2500" ], [ "s/1e+1yHJAOkrRPxGZUTYG0jNUqEUkmuoVdWTCP/PBXGyeZSty10DoysuTy8wGhrDsDMDBx2C/tCtDZRn8WoBUt2UzqXqfI5h9CX75ax8lJrsgc/oQp3GZQXcjR+8nT0", "2500" ] ] } } } ] }, { "name": "iotax_getCurrentEpoch", "tags": [ { "name": "Extended API" } ], "description": "Return current epoch info. Exclusively served by the indexer.", "params": [], "result": { "name": "EpochInfo", "required": true, "schema": { "$ref": "#/components/schemas/EpochInfo" } } }, { "name": "iotax_getDynamicFieldObject", "tags": [ { "name": "Extended API" } ], "description": "Return the dynamic field object information for a specified object", "params": [ { "name": "parent_object_id", "description": "The ID of the queried parent object", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "name", "description": "The Name of the dynamic field", "required": true, "schema": { "$ref": "#/components/schemas/DynamicFieldName" } } ], "result": { "name": "IotaObjectResponse", "required": true, "schema": { "$ref": "#/components/schemas/IotaObjectResponse" } }, "examples": [ { "name": "Gets the information for the dynamic field the request provides.", "params": [ { "name": "parent_object_id", "value": "0x5ea6f7a348f4a7bd1a9ab069eb7f63865de3075cc5a4e62432f634b50fd2bb2b" }, { "name": "name", "value": { "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestField", "value": "some_value" } } ], "result": { "name": "Result", "value": { "data": { "objectId": "0x5ea6f7a348f4a7bd1a9ab069eb7f63865de3075cc5a4e62432f634b50fd2bb2b", "version": "1", "digest": "FnxePMX8y7AqX5mRL4nCcK4xecSrpHrd85c3sJDmh5uG", "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestField", "owner": { "AddressOwner": "0x013d1eb156edcc1bedc3b1af1be1fe41671856fd3450dc5574abd53c793c9f22" }, "previousTransaction": "Faiv4yqGR4HjAW8WhMN1NHHNStxXgP3u22dVPyvLad2z", "storageRebate": "100", "content": { "dataType": "moveObject", "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestField", "fields": { "id": { "id": "0x5ea6f7a348f4a7bd1a9ab069eb7f63865de3075cc5a4e62432f634b50fd2bb2b" } } } } } } } ] }, { "name": "iotax_getDynamicFieldObjectV2", "tags": [ { "name": "Extended API" } ], "description": "Return the dynamic field object information for a specified object with content options.", "params": [ { "name": "parent_object_id", "description": "The ID of the queried parent object", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "name", "description": "The Name of the dynamic field", "required": true, "schema": { "$ref": "#/components/schemas/DynamicFieldName" } }, { "name": "options", "description": "Options for specifying the content to be returned", "schema": { "$ref": "#/components/schemas/ObjectDataOptions" } } ], "result": { "name": "IotaObjectResponse", "required": true, "schema": { "$ref": "#/components/schemas/IotaObjectResponse" } } }, { "name": "iotax_getDynamicFields", "tags": [ { "name": "Extended API" } ], "description": "Return the list of dynamic field objects owned by an object.", "params": [ { "name": "parent_object_id", "description": "The ID of the parent object", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "cursor", "description": "An optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "limit", "description": "Maximum item returned per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified.", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_DynamicFieldInfo_and_ObjectID" } }, "examples": [ { "name": "Gets dynamic fields for the object the request provides in a paginated list of `limit` dynamic field results per page. The default limit is 50.", "params": [ { "name": "parent_object_id", "value": "0xcfd10bca4d517e9452ad5486d69ee482b758c2399039dbbedd5db24385e934d6" }, { "name": "cursor", "value": "0x3ddea0f8c3da994d9ead562ce76e36fdef6a382da344930c73d1298b0e9644b8" }, { "name": "limit", "value": 3 } ], "result": { "name": "Result", "value": { "data": [ { "name": { "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestField", "value": "some_value" }, "bcsEncoding": "base64", "bcsName": "FDB4OTo6dGVzdDo6VGVzdEZpZWxk", "type": "DynamicField", "objectType": "test", "objectId": "0x82b2fd67344691abd0efc771941b948ad35360b08e449fbbc28b0641175bf60b", "version": 1, "digest": "P2fGrUFbsF576cFxXYXrp1PskZHo2XKvbEoxL14qtnr" }, { "name": { "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestField", "value": "some_value" }, "bcsEncoding": "base64", "bcsName": "FDB4OTo6dGVzdDo6VGVzdEZpZWxk", "type": "DynamicField", "objectType": "test", "objectId": "0x21564fc5a68ace997461b098c1d1f3ccbde241d8fdf562db36bc1423ee10cecb", "version": 1, "digest": "8Nmpatir33R88Xow2td3dpezMm1gsQJD19VThwR1Y8T5" }, { "name": { "type": "0x0000000000000000000000000000000000000000000000000000000000000009::test::TestField", "value": "some_value" }, "bcsEncoding": "base64", "bcsName": "FDB4OTo6dGVzdDo6VGVzdEZpZWxk", "type": "DynamicField", "objectType": "test", "objectId": "0x7e00acf5386662fa062483ba507b1e9e3039750f0a270f2e12441ad7f611a5f7", "version": 1, "digest": "J2n2gEG8R9P9nMep8mRVLjttxcDXQnWSH9KmrRsnGSg2" } ], "nextCursor": "0x671832358f25bfacde706e528df4e15bb8de6dadd21835dfe44f4973139c15f9", "hasNextPage": true } } } ] }, { "name": "iotax_getEpochMetrics", "tags": [ { "name": "Extended API" } ], "description": "Return a list of epoch metrics, which is a subset of epoch info. Exclusively served by the indexer.", "params": [ { "name": "cursor", "description": "Optional paging cursor", "schema": { "type": "string" } }, { "name": "limit", "description": "Maximum number of items per page", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } }, { "name": "descending_order", "description": "Flag to return results in descending order", "schema": { "type": "boolean" } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_EpochMetrics_and_String" } } }, { "name": "iotax_getEpochs", "tags": [ { "name": "Extended API" } ], "description": "Return a list of epoch info. Exclusively served by the indexer.", "params": [ { "name": "cursor", "description": "Optional paging cursor", "schema": { "type": "string" } }, { "name": "limit", "description": "Maximum number of items per page", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } }, { "name": "descending_order", "description": "Flag to return results in descending order", "schema": { "type": "boolean" } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_EpochInfo_and_String" } } }, { "name": "iotax_getLatestAddressMetrics", "tags": [ { "name": "Extended API" } ], "description": "Address related metrics. Exclusively served by the indexer.", "params": [], "result": { "name": "AddressMetrics", "required": true, "schema": { "$ref": "#/components/schemas/AddressMetrics" } } }, { "name": "iotax_getLatestIotaSystemState", "tags": [ { "name": "Governance Read API" } ], "description": "Return the latest IOTA system state object on networks supporting protocol version `< 5`. These are networks with node software release version `< 0.11`.", "params": [], "result": { "name": "IotaSystemStateSummaryV1", "required": true, "schema": { "$ref": "#/components/schemas/IotaSystemStateSummaryV1" } }, "examples": [ { "name": "Gets objects owned by the address in the request.", "params": [], "result": { "name": "Result", "value": "some_system_state" } } ] }, { "name": "iotax_getLatestIotaSystemStateV2", "tags": [ { "name": "Governance Read API" } ], "description": "Return the latest IOTA system state object on networks supporting protocol version `>= 5`. These are networks with node software release version `>= 0.11`.", "params": [], "result": { "name": "IotaSystemStateSummary", "required": true, "schema": { "$ref": "#/components/schemas/IotaSystemStateSummary" } } }, { "name": "iotax_getMoveCallMetrics", "tags": [ { "name": "Extended API" } ], "description": "Return move call metrics. Exclusively served by the indexer.", "params": [], "result": { "name": "MoveCallMetrics", "required": true, "schema": { "$ref": "#/components/schemas/MoveCallMetrics" } } }, { "name": "iotax_getNetworkMetrics", "tags": [ { "name": "Extended API" } ], "description": "Return Network metrics. Exclusively served by the indexer.", "params": [], "result": { "name": "NetworkMetrics", "required": true, "schema": { "$ref": "#/components/schemas/NetworkMetrics" } } }, { "name": "iotax_getOwnedObjects", "tags": [ { "name": "Extended API" } ], "description": "Return the list of objects owned by an address. Note that if the address owns more than `QUERY_MAX_RESULT_LIMIT` objects, the pagination is not accurate, because previous page may have been updated when the next page is fetched. Please use iotax_queryObjects if this is a concern.", "params": [ { "name": "address", "description": "the owner's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "query", "description": "the objects query criteria.", "schema": { "$ref": "#/components/schemas/ObjectResponseQuery" } }, { "name": "cursor", "description": "An optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "limit", "description": "Max number of items returned per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified.", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_IotaObjectResponse_and_ObjectID" } }, "examples": [ { "name": "Returns all the objects the address provided in the request owns and that match the filter. By default, only the digest value is returned, but the request returns additional information by setting the relevant keys to true. A cursor value is also provided, so the list of results begin after that value.", "params": [ { "name": "address", "value": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f" }, { "name": "query", "value": { "filter": { "MatchAll": [ { "StructType": "0x2::coin::Coin<0x2::iota::IOTA>" }, { "AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f" }, { "Version": "13488" } ] }, "options": { "showType": true, "showOwner": true, "showPreviousTransaction": true, "showDisplay": false, "showContent": false, "showBcs": false, "showStorageRebate": false } } }, { "name": "cursor", "value": "0x8a417a09c971859f8f2b8ec279438a25d8876ea3c60e345ac3861444136b4a1b" }, { "name": "limit", "value": 3 } ], "result": { "name": "Result", "value": { "data": [ { "data": { "objectId": "0xd87765d1aadec2db8cc24c312542c8359b6b5e3bfeab524e5edaad3a204b4053", "version": "13488", "digest": "8qCvxDHh5LtDfF95Ci9G7vvQN2P6y4v55S9xoKBYp7FM", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f" }, "previousTransaction": "kniF9zCBVYevxq3ZmtKxDDJk27N1qEgwkDtPiyeve4Y", "storageRebate": "100" } }, { "data": { "objectId": "0x26ed170e0427f9416a614d23284116375c16bd317738fd2c7a885362e04923f5", "version": "13488", "digest": "5Ka3vDaDy9h5UYk3Maz3vssWHrhbcGXQgwg8fL2ygyTi", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f" }, "previousTransaction": "FLSfkL1pVTxv724z5kfPbTq2KsWP1HEKBwZQ57uRZU11", "storageRebate": "100" } }, { "data": { "objectId": "0x2aea16d6fb49b7d1ae51f33b01ed8e1ac66916858610c124bb6fd73bb13e141c", "version": "13488", "digest": "D3hfhfecVcmRcqNEkxkoFMzbuXvBqWj1JkCNU9zbnYMo", "type": "0x2::coin::Coin<0x2::iota::IOTA>", "owner": { "AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f" }, "previousTransaction": "GEoTGQuWicnPLM9Rg3vW1Q2y3kvnAgEkbyn8Z3RnAYai", "storageRebate": "100" } } ], "nextCursor": "0x2aea16d6fb49b7d1ae51f33b01ed8e1ac66916858610c124bb6fd73bb13e141c", "hasNextPage": true } } } ] }, { "name": "iotax_getParticipationMetrics", "tags": [ { "name": "Extended API" } ], "description": "Returns the participation metrics. Participation is defined as the total number of unique addresses that have delegated stake in the current epoch. Includes both staked and timelocked staked IOTA. Exclusively served by the indexer.", "params": [], "result": { "name": "ParticipationMetrics", "required": true, "schema": { "$ref": "#/components/schemas/ParticipationMetrics" } } }, { "name": "iotax_getReferenceGasPrice", "tags": [ { "name": "Governance Read API" } ], "description": "Return the reference gas price for the network", "params": [], "result": { "name": "String", "required": true, "schema": { "type": "string" } }, "examples": [ { "name": "Gets reference gas price information for the network.", "params": [], "result": { "name": "Result", "value": 1000 } } ] }, { "name": "iotax_getStakes", "tags": [ { "name": "Governance Read API" } ], "description": "Return all [DelegatedStake].", "params": [ { "name": "owner", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelegatedStake" } } }, "examples": [ { "name": "Returns the staking information for the address the request provides.", "params": [ { "name": "owner", "value": "0x3befb84f03a24386492bd3b05b1fd386172eb450e5059ce7df0ea6d9d6cefcaa" } ], "result": { "name": "Result", "value": [ { "validatorAddress": "0x9a95cf69368e31b4dbe8ee9bdb3c0587bbc79d8fc6edf4007e185a962fd906df", "stakingPool": "0xb4eeb46b70f0bebcae832aeef9f7c5db76052ab656e5f81853d0cf701cdbc8eb", "stakes": [ { "stakedIotaId": "0xf27ab513fc6ef8c344406c78da3d5ad3a5fcc295dc8803c15989a62d33ee8590", "stakeRequestEpoch": "62", "stakeActiveEpoch": "63", "principal": "200000000000", "status": "Active", "estimatedReward": "520000000" }, { "stakedIotaId": "0x14cfd5e91c13a481370240e392464c329a203fb9f0a8158aaab9b2a90044b26e", "stakeRequestEpoch": "142", "stakeActiveEpoch": "143", "principal": "200000000000", "status": "Pending" } ] }, { "validatorAddress": "0x14cc7fee4100fdcabda6d15c63c4b49c45ae23f2b936495cd38b1a4b04010295", "stakingPool": "0xbaa75ac72e548aeecf2ce8b4e88530651d6e8f93e0fb79b4bc65a512beb5b9f3", "stakes": [ { "stakedIotaId": "0x378423de90ed03b694cecf443c72b5387b29a731d26d98108d7abc4902107d7d", "stakeRequestEpoch": "244", "stakeActiveEpoch": "245", "principal": "200000000000", "status": "Unstaked" } ] } ] } } ] }, { "name": "iotax_getStakesByIds", "tags": [ { "name": "Governance Read API" } ], "description": "Return one or more [DelegatedStake]. If a Stake was withdrawn its status will be Unstaked.", "params": [ { "name": "staked_iota_ids", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelegatedStake" } } }, "examples": [ { "name": "Returns the staking information for the address the request provides.", "params": [ { "name": "staked_iota_ids", "value": [ "0x6a8e0f8fea6fda5488462e58724c034462b6064a08845e2ae2942fe7c4ee816d", "0x754eb2eed23e6c6bb32c89fe1f21ab588374445e72e0402aea014b2956105799" ] } ], "result": { "name": "Result", "value": { "validatorAddress": "0x63ee67e81398729f87d81d62f399c041b0f8d0938923ea7e3917608ee62df437", "stakingPool": "0x6710024f81dd33ab6833482ee8034e779a48e6ef635c7f856df4905022458bfb", "stakes": [ { "stakedIotaId": "0x6a8e0f8fea6fda5488462e58724c034462b6064a08845e2ae2942fe7c4ee816d", "stakeRequestEpoch": "62", "stakeActiveEpoch": "63", "principal": "200000000000", "status": "Active", "estimatedReward": "520000000" }, { "stakedIotaId": "0x754eb2eed23e6c6bb32c89fe1f21ab588374445e72e0402aea014b2956105799", "stakeRequestEpoch": "244", "stakeActiveEpoch": "245", "principal": "200000000000", "status": "Unstaked" } ] } } } ] }, { "name": "iotax_getTimelockedStakes", "tags": [ { "name": "Governance Read API" } ], "description": "Return all [DelegatedTimelockedStake].", "params": [ { "name": "owner", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelegatedTimelockedStake" } } } }, { "name": "iotax_getTimelockedStakesByIds", "tags": [ { "name": "Governance Read API" } ], "description": "Return one or more [DelegatedTimelockedStake]. If a Stake was withdrawn its status will be Unstaked.", "params": [ { "name": "timelocked_staked_iota_ids", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } } ], "result": { "name": "Vec", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelegatedTimelockedStake" } } } }, { "name": "iotax_getTotalSupply", "tags": [ { "name": "Coin Query API" } ], "description": "Return total supply for a coin.", "params": [ { "name": "coin_type", "description": "type name for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC)", "required": true, "schema": { "type": "string" } } ], "result": { "name": "IotaSupply", "required": true, "schema": { "$ref": "#/components/schemas/Supply" } }, "examples": [ { "name": "Gets total supply for the type of coin provided.", "params": [ { "name": "coin_type", "value": "0x0a52124e2d53af3bef7959609efa51761ad155441a1b73bdaeecce7c56488b13::acoin::ACOIN" } ], "result": { "name": "Result", "value": { "value": "12023692" } } } ] }, { "name": "iotax_getTotalTransactions", "tags": [ { "name": "Extended API" } ], "description": "Return the total number of transactions. Exclusively served by the indexer.", "params": [], "result": { "name": "String", "required": true, "schema": { "type": "string" } } }, { "name": "iotax_getValidatorsApy", "tags": [ { "name": "Governance Read API" } ], "description": "Return the validator APY", "params": [], "result": { "name": "ValidatorApys", "required": true, "schema": { "$ref": "#/components/schemas/ValidatorApys" } }, "examples": [ { "name": "Gets the APY for all validators.", "params": [], "result": { "name": "Result", "value": { "apys": [ { "address": "0x27838b06db0346808ffb0676099de0408b31759f57b69c52e09410a66f9a23c3", "apy": 0.06 }, { "address": "0x4be9913b6697a5e83e02e2a0fc747057ba0901e4d9b1e04de75ea2699a441321", "apy": 0.02 }, { "address": "0x5612581eba57ebe7e594b809ccceec2be4dac6ff6945d49b3ecc043d049611f6", "apy": 0.05 } ], "epoch": "420" } } } ] }, { "name": "iotax_iotaNamesFindAllRegistrationNFTs", "tags": [ { "name": "Extended API" } ], "description": "Find all registration NFTs for the given address.", "params": [ { "name": "address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "cursor", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "limit", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } }, { "name": "options", "schema": { "$ref": "#/components/schemas/ObjectDataOptions" } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_IotaObjectResponse_and_ObjectID" } } }, { "name": "iotax_iotaNamesLookup", "tags": [ { "name": "Extended API" } ], "description": "Return the resolved record for the given name.", "params": [ { "name": "name", "description": "The name to resolve", "required": true, "schema": { "type": "string" } } ], "result": { "name": "IotaNameRecord", "schema": { "$ref": "#/components/schemas/IotaNameRecord" } } }, { "name": "iotax_iotaNamesReverseLookup", "tags": [ { "name": "Extended API" } ], "description": "Return the resolved name for the given address.", "params": [ { "name": "address", "description": "The address to resolve.", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } } ], "result": { "name": "String", "schema": { "type": "string" } } }, { "name": "iotax_queryEvents", "tags": [ { "name": "Extended API" } ], "description": "Return list of events for a specified query criteria.", "params": [ { "name": "query", "description": "The event query criteria. See [Event filter](https://docs.iota.org/developer/iota-101/using-events#applying-event-filters) documentation for examples.", "required": true, "schema": { "$ref": "#/components/schemas/EventFilter" } }, { "name": "cursor", "description": "optional paging cursor", "schema": { "$ref": "#/components/schemas/EventID" } }, { "name": "limit", "description": "maximum number of items per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified.", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } }, { "name": "descending_order", "description": "query result ordering, default to false (ascending order), oldest record first.", "schema": { "type": "boolean" } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_Event_and_EventID" } }, "examples": [ { "name": "Returns the events for a specified query criteria.", "params": [ { "name": "query", "value": { "MoveModule": { "package": "0x9c76d5157eaa77c41a7bfda8db98a8e8080f7cb53b7313088ed085c73f866f21", "module": "test" } } }, { "name": "cursor", "value": { "txDigest": "EnySDWe22mnp35umt47kifqXvvchBqTzAoyoPXaH3rfK", "eventSeq": "1" } }, { "name": "limit", "value": 100 }, { "name": "descending_order", "value": false } ], "result": { "name": "Result", "value": { "data": [ { "id": { "txDigest": "FUMhRSj76es8MYeaRYeaBnppk56cuEehKwL2CiU82U7B", "eventSeq": "1" }, "packageId": "0xd3d707164b2a378eee639ebc2690873d2f7dd97d60bdd8f0b9935a5c791b096d", "transactionModule": "test", "sender": "0x84bd999f9ff7a1804872957fafa528628a24386298faa98850887f64da841b87", "type": "0x3::test::Test<0x3::test::Test>", "parsedJson": "some_value", "bcsEncoding": "base64", "bcs": "" }, { "id": { "txDigest": "CkEYWW2zxTCGBLvUcTARhyX92fu2uc7cnCUXfCiqAypp", "eventSeq": "1" }, "packageId": "0xd3d707164b2a378eee639ebc2690873d2f7dd97d60bdd8f0b9935a5c791b096d", "transactionModule": "test", "sender": "0x279efd098d59a66a3d9adc87cce81fe9ec69dc8105b2b60140589ec8be44c29f", "type": "0x3::test::Test<0x3::test::Test>", "parsedJson": "some_value", "bcsEncoding": "base64", "bcs": "" }, { "id": { "txDigest": "Eg3ynETJfTfPKyvJzq3VLG6MngURYHPMjjUJ3Xt1t7tf", "eventSeq": "1" }, "packageId": "0xd3d707164b2a378eee639ebc2690873d2f7dd97d60bdd8f0b9935a5c791b096d", "transactionModule": "test", "sender": "0x289be027d2a94f744b4c59fda7b528f9c59f430eaba84b8bee9b43a30f9cc83f", "type": "0x3::test::Test<0x3::test::Test>", "parsedJson": "some_value", "bcsEncoding": "base64", "bcs": "" }, { "id": { "txDigest": "EnySDWe22mnp35umt47kifqXvvchBqTzAoyoPXaH3rfK", "eventSeq": "1" }, "packageId": "0xd3d707164b2a378eee639ebc2690873d2f7dd97d60bdd8f0b9935a5c791b096d", "transactionModule": "test", "sender": "0xa395759ca37c6e1ffc179184e98a6f9a2da5d78f6e34b0e5044ed52a6bc0a1bc", "type": "0x3::test::Test<0x3::test::Test>", "parsedJson": "some_value", "bcsEncoding": "base64", "bcs": "" } ], "nextCursor": { "txDigest": "EnySDWe22mnp35umt47kifqXvvchBqTzAoyoPXaH3rfK", "eventSeq": "1" }, "hasNextPage": false } } } ] }, { "name": "iotax_queryTransactionBlocks", "tags": [ { "name": "Extended API" } ], "description": "Return list of transactions for a specified query criteria.", "params": [ { "name": "query", "description": "the transaction query criteria.", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockResponseQuery" } }, { "name": "cursor", "description": "An optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.", "schema": { "$ref": "#/components/schemas/Base58" } }, { "name": "limit", "description": "Maximum item returned per page, default to QUERY_MAX_RESULT_LIMIT if not specified.", "schema": { "type": "integer", "format": "uint", "minimum": 0.0 } }, { "name": "descending_order", "description": "query result ordering, default to false (ascending order), oldest record first.", "schema": { "type": "boolean" } } ], "result": { "name": "Page", "required": true, "schema": { "$ref": "#/components/schemas/Page_for_TransactionBlockResponse_and_Base58" } }, "examples": [ { "name": "Returns the transaction digest for specified query criteria.", "params": [ { "name": "query", "value": { "filter": { "InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8" }, "options": null } }, { "name": "cursor", "value": "HxidAfFfyr4kXSiWeVq1J6Tk526YUVDoSUY5PSnS4tEJ" }, { "name": "limit", "value": 100 }, { "name": "descending_order", "value": false } ], "result": { "name": "Result", "value": { "data": [ { "digest": "GUPcK4cmRmgsTFr52ab9f6fnzNVg3Lz6hF2aXFcsRzaD" }, { "digest": "B2iV1SVbBjgTKfbJKPQrvTT6F3kNdekFuBwY9tQcAxV2" }, { "digest": "8QrPa4x9iNG5r2zQfmeH8pJoVjjtq9AGzp8rp2fxi8Sk" }, { "digest": "3nek86HEjXZ7K3EtrAcBG4wMrCS21gqr8BqwwC6M6P7F" } ], "nextCursor": "3nek86HEjXZ7K3EtrAcBG4wMrCS21gqr8BqwwC6M6P7F", "hasNextPage": false } } } ] }, { "name": "iotax_subscribeEvent", "tags": [ { "name": "Extended API" }, { "name": "Websocket" }, { "name": "PubSub" } ], "description": "Subscribe to a stream of IOTA event", "params": [ { "name": "filter", "description": "The filter criteria of the event stream. See [Event filter](https://docs.iota.org/developer/iota-101/using-events#applying-event-filters) documentation for examples.", "required": true, "schema": { "$ref": "#/components/schemas/EventFilter" } } ], "result": { "name": "IotaEvent", "required": true, "schema": { "$ref": "#/components/schemas/Event" } } }, { "name": "iotax_subscribeTransaction", "tags": [ { "name": "Extended API" }, { "name": "Websocket" }, { "name": "PubSub" } ], "description": "Subscribe to a stream of IOTA transaction effects", "params": [ { "name": "filter", "required": true, "schema": { "$ref": "#/components/schemas/TransactionFilter" } } ], "result": { "name": "IotaTransactionBlockEffects", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockEffects" } } }, { "name": "unsafe_batchTransaction", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned batched transaction.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "single_transaction_params", "description": "list of transaction request parameters", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RPCTransactionRequestParams" } } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } }, { "name": "txn_builder_mode", "description": "Whether this is a regular transaction or a Dev Inspect Transaction", "schema": { "$ref": "#/components/schemas/IotaTransactionBlockBuilderMode" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_mergeCoins", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to merge multiple coins into one coin.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "primary_coin", "description": "the coin object to merge into, this coin will remain after the transaction", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "coin_to_merge", "description": "the coin object to be merged, this coin will be destroyed, the balance will be added to `primary_coin`", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_moveCall", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to execute a Move call on the network, by calling the specified function in the module of a given package.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "package_object_id", "description": "the Move package ID, e.g. `0x2`", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "module", "description": "the Move module name, e.g. `pay`", "required": true, "schema": { "type": "string" } }, { "name": "function", "description": "the move function name, e.g. `split`", "required": true, "schema": { "type": "string" } }, { "name": "type_arguments", "description": "the type arguments of the Move function", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TypeTag" } } }, { "name": "arguments", "description": "the arguments to be passed into the Move function, in [IotaJson](https://docs.iota.org/developer/references/iota-api) format", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IotaJsonValue" } } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } }, { "name": "execution_mode", "description": "Whether this is a Normal transaction or a Dev Inspect Transaction. Default to be `IotaTransactionBlockBuilderMode::Commit` when it's None.", "schema": { "$ref": "#/components/schemas/IotaTransactionBlockBuilderMode" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_pay", "tags": [ { "name": "Transaction Builder API" } ], "description": "Send `Coin` to a list of addresses, where `T` can be any coin type, following a list of amounts, The object specified in the `gas` field will be used to pay the gas fee for the transaction. The gas object can not appear in `input_coins`. If the gas object is not specified, the RPC server will auto-select one.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "input_coins", "description": "the IOTA coins to be used in this transaction", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, { "name": "recipients", "description": "the recipients' addresses, the length of this vector must be the same as amounts.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IotaAddress" } } }, { "name": "amounts", "description": "the amounts to be transferred to recipients, following the same order", "required": true, "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_payAllIota", "tags": [ { "name": "Transaction Builder API" } ], "description": "Send all IOTA coins to one recipient. This is for IOTA coin only and does not require a separate gas coin object. Specifically, what pay_all_iota does are: 1. accumulate all IOTA from input coins and deposit all IOTA to the first input coin 2. transfer the updated first coin to the recipient and also use this first coin as gas coin object. 3. the balance of the first input coin after tx is sum(input_coins) - actual_gas_cost. 4. all other input coins other than the first are deleted.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "input_coins", "description": "the IOTA coins to be used in this transaction, including the coin for gas payment.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, { "name": "recipient", "description": "the recipient address,", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_payIota", "tags": [ { "name": "Transaction Builder API" } ], "description": "Send IOTA coins to a list of addresses, following a list of amounts. This is for IOTA coin only and does not require a separate gas coin object. Specifically, what pay_iota does are: 1. debit each input_coin to create new coin following the order of amounts and assign it to the corresponding recipient. 2. accumulate all residual IOTA from input coins left and deposit all IOTA to the first input coin, then use the first input coin as the gas coin object. 3. the balance of the first input coin after tx is sum(input_coins) - sum(amounts) - actual_gas_cost 4. all other input coints other than the first one are deleted.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "input_coins", "description": "the IOTA coins to be used in this transaction, including the coin for gas payment.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, { "name": "recipients", "description": "the recipients' addresses, the length of this vector must be the same as amounts.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IotaAddress" } } }, { "name": "amounts", "description": "the amounts to be transferred to recipients, following the same order", "required": true, "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_publish", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to publish a Move package.", "params": [ { "name": "sender", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "compiled_modules", "description": "the compiled bytes of a Move package", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Base64" } } }, { "name": "dependencies", "description": "a list of transitive dependency addresses that this set of modules depends on.", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_requestAddStake", "tags": [ { "name": "Transaction Builder API" } ], "description": "Add stake to a validator's staking pool using multiple coins and amount.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "coins", "description": "Coin object to stake", "required": true, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, { "name": "amount", "description": "stake amount", "schema": { "type": "string" } }, { "name": "validator", "description": "the validator's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_requestAddTimelockedStake", "tags": [ { "name": "Transaction Builder API" } ], "description": "Add timelocked stake to a validator's staking pool using multiple balances and amount.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "locked_balance", "description": "TimeLock> object to stake", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "validator", "description": "the validator's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "gas", "description": "gas object to be used in this transaction", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_requestWithdrawStake", "tags": [ { "name": "Transaction Builder API" } ], "description": "Withdraw stake from a validator's staking pool.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "staked_iota", "description": "StakedIota object ID", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_requestWithdrawTimelockedStake", "tags": [ { "name": "Transaction Builder API" } ], "description": "Withdraw timelocked stake from a validator's staking pool.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "timelocked_staked_iota", "description": "TimelockedStakedIota object ID", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas", "description": "gas object to be used in this transaction", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_splitCoin", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to split a coin object into multiple coins.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "coin_object_id", "description": "the coin object to be spilt", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "split_amounts", "description": "the amounts to split out from the coin", "required": true, "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_splitCoinEqual", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to split a coin object into multiple equal-size coins.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "coin_object_id", "description": "the coin object to be spilt", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "split_count", "description": "the number of coins to split into", "required": true, "schema": { "type": "string" } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_transferIota", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to send IOTA coin object to an IOTA address. The IOTA object is also used as the gas object.", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "iota_object_id", "description": "the IOTA coin object to be used in this transaction", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } }, { "name": "recipient", "description": "the recipient's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "amount", "description": "the amount to be split out and transferred", "schema": { "type": "string" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } }, { "name": "unsafe_transferObject", "tags": [ { "name": "Transaction Builder API" } ], "description": "Create an unsigned transaction to transfer an object from one address to another. The object's type must allow public transfers", "params": [ { "name": "signer", "description": "the transaction signer's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } }, { "name": "object_id", "description": "the ID of the object to be transferred", "required": true, "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas", "description": "gas object to be used in this transaction, node will pick one from the signer's possession if not provided", "schema": { "$ref": "#/components/schemas/ObjectID" } }, { "name": "gas_budget", "description": "the gas budget, the transaction will fail if the gas cost exceed the budget", "required": true, "schema": { "type": "string" } }, { "name": "recipient", "description": "the recipient's IOTA address", "required": true, "schema": { "$ref": "#/components/schemas/IotaAddress" } } ], "result": { "name": "TransactionBlockBytes", "required": true, "schema": { "$ref": "#/components/schemas/TransactionBlockBytes" } } } ], "components": { "schemas": { "AddressMetrics": { "description": "Provides metrics about the addresses.", "type": "object", "required": [ "checkpoint", "cumulativeActiveAddresses", "cumulativeAddresses", "dailyActiveAddresses", "epoch", "timestampMs" ], "properties": { "checkpoint": { "description": "The checkpoint sequence number at which the metrics were computed.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "cumulativeActiveAddresses": { "description": "The count of sender addresses.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "cumulativeAddresses": { "description": "The count of sender and recipient addresses.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "dailyActiveAddresses": { "description": "The count of daily unique sender addresses.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "epoch": { "description": "The epoch to which the checkpoint is assigned.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "timestampMs": { "description": "The checkpoint timestamp.", "type": "integer", "format": "uint64", "minimum": 0.0 } } }, "AuthorityPublicKeyBytes": { "description": "Defines the compressed version of the public key that we pass around in IOTA.", "allOf": [ { "$ref": "#/components/schemas/Base64" } ] }, "Balance": { "type": "object", "required": [ "coinObjectCount", "coinType", "totalBalance" ], "properties": { "coinObjectCount": { "type": "integer", "format": "uint", "minimum": 0.0 }, "coinType": { "type": "string" }, "totalBalance": { "type": "string" } } }, "BalanceChange": { "type": "object", "required": [ "amount", "coinType", "owner" ], "properties": { "amount": { "description": "The amount indicate the balance value changes, negative amount means spending coin value and positive means receiving coin value.", "type": "string" }, "coinType": { "$ref": "#/components/schemas/TypeTag" }, "owner": { "description": "Owner of the balance change", "allOf": [ { "$ref": "#/components/schemas/Owner" } ] } } }, "Base58": { "description": "Base58 encoded data", "type": "string", "format": "base58" }, "Base64": { "description": "Base64 encoded data", "type": "string", "format": "base64" }, "Checkpoint": { "type": "object", "required": [ "checkpointCommitments", "digest", "epoch", "epochRollingGasCostSummary", "networkTotalTransactions", "sequenceNumber", "timestampMs", "transactions", "validatorSignature" ], "properties": { "checkpointCommitments": { "description": "Commitments to checkpoint state", "type": "array", "items": { "$ref": "#/components/schemas/CheckpointCommitment" } }, "digest": { "description": "Checkpoint digest", "allOf": [ { "$ref": "#/components/schemas/Base58" } ] }, "endOfEpochData": { "description": "Present only on the final checkpoint of the epoch.", "anyOf": [ { "$ref": "#/components/schemas/EndOfEpochData" }, { "type": "null" } ] }, "epoch": { "description": "Checkpoint's epoch ID", "type": "string" }, "epochRollingGasCostSummary": { "description": "The running total gas costs of all transactions included in the current epoch so far until this checkpoint.", "allOf": [ { "$ref": "#/components/schemas/GasCostSummary" } ] }, "networkTotalTransactions": { "description": "Total number of transactions committed since genesis, including those in this checkpoint.", "type": "string" }, "previousDigest": { "description": "Digest of the previous checkpoint", "anyOf": [ { "$ref": "#/components/schemas/Base58" }, { "type": "null" } ] }, "sequenceNumber": { "description": "Checkpoint sequence number", "type": "string" }, "timestampMs": { "description": "Timestamp of the checkpoint - number of milliseconds from the Unix epoch Checkpoint timestamps are monotonic, but not strongly monotonic - subsequent checkpoints can have same timestamp if they originate from the same underlining consensus commit", "type": "string" }, "transactions": { "description": "Transaction digests", "type": "array", "items": { "$ref": "#/components/schemas/Base58" } }, "validatorSignature": { "description": "Validator Signature", "allOf": [ { "$ref": "#/components/schemas/Base64" } ] } } }, "CheckpointCommitment": { "oneOf": [ { "type": "object", "required": [ "ECMHLiveObjectSetDigest" ], "properties": { "ECMHLiveObjectSetDigest": { "$ref": "#/components/schemas/ECMHLiveObjectSetDigest" } }, "additionalProperties": false } ] }, "CheckpointId": { "anyOf": [ { "type": "string" }, { "$ref": "#/components/schemas/Base58" } ] }, "Coin": { "type": "object", "required": [ "balance", "coinObjectId", "coinType", "digest", "previousTransaction", "version" ], "properties": { "balance": { "type": "string" }, "coinObjectId": { "$ref": "#/components/schemas/ObjectID" }, "coinType": { "type": "string" }, "digest": { "$ref": "#/components/schemas/Base58" }, "previousTransaction": { "$ref": "#/components/schemas/Base58" }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, "CommitteeInfo": { "description": "RPC representation of the [Committee] type.", "type": "object", "required": [ "epoch", "validators" ], "properties": { "epoch": { "type": "string" }, "validators": { "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/AuthorityPublicKeyBytes" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } } } }, "ConsensusDeterminedVersionAssignments": { "description": "Uses an enum to allow for future expansion of the ConsensusDeterminedVersionAssignments.", "oneOf": [ { "type": "object", "required": [ "CancelledTransactions" ], "properties": { "CancelledTransactions": { "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/Base58" }, { "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/ObjectID" }, { "$ref": "#/components/schemas/SequenceNumberU64" } ], "maxItems": 2, "minItems": 2 } } ], "maxItems": 2, "minItems": 2 } } }, "additionalProperties": false } ] }, "Data": { "oneOf": [ { "type": "object", "required": [ "dataType", "fields", "type" ], "properties": { "dataType": { "type": "string", "enum": [ "moveObject" ] }, "fields": { "$ref": "#/components/schemas/MoveStruct" }, "type": { "$ref": "#/components/schemas/StructTag" } } }, { "type": "object", "required": [ "dataType", "disassembled" ], "properties": { "dataType": { "type": "string", "enum": [ "package" ] }, "disassembled": { "type": "object", "additionalProperties": true } } } ] }, "DelegatedStake": { "type": "object", "required": [ "stakes", "stakingPool", "validatorAddress" ], "properties": { "stakes": { "type": "array", "items": { "$ref": "#/components/schemas/Stake" } }, "stakingPool": { "description": "Staking pool object id.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "validatorAddress": { "description": "Validator's Address.", "allOf": [ { "$ref": "#/components/schemas/IotaAddress" } ] } } }, "DelegatedTimelockedStake": { "type": "object", "required": [ "stakes", "stakingPool", "validatorAddress" ], "properties": { "stakes": { "type": "array", "items": { "$ref": "#/components/schemas/TimelockedStake" } }, "stakingPool": { "$ref": "#/components/schemas/ObjectID" }, "validatorAddress": { "$ref": "#/components/schemas/IotaAddress" } } }, "DevInspectArgs": { "description": "Additional arguments supplied to dev inspect beyond what is allowed in today's API.", "type": "object", "properties": { "gasBudget": { "description": "The gas budget for the transaction.", "default": null, "type": [ "string", "null" ] }, "gasObjects": { "description": "The gas objects used to pay for the transaction.", "default": null, "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/ObjectRef" } }, "gasSponsor": { "description": "The sponsor of the gas for the transaction, might be different from the sender.", "default": null, "anyOf": [ { "$ref": "#/components/schemas/IotaAddress" }, { "type": "null" } ] }, "showRawTxnDataAndEffects": { "description": "Whether to return the raw transaction data and effects.", "type": [ "boolean", "null" ] }, "skipChecks": { "description": "Whether to skip transaction checks for the transaction.", "type": [ "boolean", "null" ] } } }, "DevInspectResults": { "description": "The response from processing a dev inspect transaction", "type": "object", "required": [ "effects", "events" ], "properties": { "effects": { "description": "Summary of effects that likely would be generated if the transaction is actually run. Note however, that not all dev-inspect transactions are actually usable as transactions so it might not be possible actually generate these effects from a normal transaction.", "allOf": [ { "$ref": "#/components/schemas/TransactionBlockEffects" } ] }, "error": { "description": "Execution error from executing the transactions", "type": [ "string", "null" ] }, "events": { "description": "Events that likely would be generated if the transaction is actually run.", "type": "array", "items": { "$ref": "#/components/schemas/Event" } }, "rawEffects": { "description": "The raw effects of the transaction that was dev inspected.", "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, "rawTxnData": { "description": "The raw transaction data that was dev inspected.", "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, "results": { "description": "Execution results (including return values) from executing the transactions", "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/IotaExecutionResult" } } } }, "DisplayFieldsResponse": { "type": "object", "properties": { "data": { "type": [ "object", "null" ], "additionalProperties": { "type": "string" } }, "error": { "anyOf": [ { "$ref": "#/components/schemas/ObjectResponseError" }, { "type": "null" } ] } } }, "DryRunTransactionBlockResponse": { "type": "object", "required": [ "balanceChanges", "effects", "events", "input", "objectChanges" ], "properties": { "balanceChanges": { "type": "array", "items": { "$ref": "#/components/schemas/BalanceChange" } }, "effects": { "$ref": "#/components/schemas/TransactionBlockEffects" }, "events": { "type": "array", "items": { "$ref": "#/components/schemas/Event" } }, "executionErrorSource": { "type": [ "string", "null" ] }, "input": { "$ref": "#/components/schemas/TransactionBlockData" }, "objectChanges": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectChange" } }, "suggestedGasPrice": { "description": "If an input object is congested, suggest a gas price to use.", "type": [ "string", "null" ] } } }, "DynamicFieldInfo": { "type": "object", "oneOf": [ { "type": "object", "required": [ "bcsEncoding", "bcsName" ], "properties": { "bcsEncoding": { "type": "string", "enum": [ "base64" ] }, "bcsName": { "$ref": "#/components/schemas/Base64" } } }, { "type": "object", "required": [ "bcsEncoding", "bcsName" ], "properties": { "bcsEncoding": { "type": "string", "enum": [ "base58" ] }, "bcsName": { "$ref": "#/components/schemas/Base58" } } } ], "required": [ "digest", "name", "objectId", "objectType", "type", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "name": { "$ref": "#/components/schemas/DynamicFieldName" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "type": "string" }, "type": { "$ref": "#/components/schemas/DynamicFieldType" }, "version": { "$ref": "#/components/schemas/SequenceNumberU64" } } }, "DynamicFieldName": { "type": "object", "required": [ "type", "value" ], "properties": { "type": { "$ref": "#/components/schemas/TypeTag" }, "value": true } }, "DynamicFieldType": { "type": "string", "enum": [ "DynamicField", "DynamicObject" ] }, "ECMHLiveObjectSetDigest": { "description": "The Sha256 digest of an EllipticCurveMultisetHash committing to the live object set.", "type": "object", "required": [ "digest" ], "properties": { "digest": { "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 }, "maxItems": 32, "minItems": 32 } } }, "EndOfEpochData": { "type": "object", "required": [ "epochCommitments", "epochSupplyChange", "nextEpochCommittee", "nextEpochProtocolVersion" ], "properties": { "epochCommitments": { "description": "Commitments to epoch specific state (e.g. live object set)", "type": "array", "items": { "$ref": "#/components/schemas/CheckpointCommitment" } }, "epochSupplyChange": { "description": "The number of tokens that were minted (if positive) or burnt (if negative) in this epoch.", "type": "integer", "format": "int64" }, "nextEpochCommittee": { "description": "next_epoch_committee is `Some` if and only if the current checkpoint is the last checkpoint of an epoch. Therefore next_epoch_committee can be used to pick the last checkpoint of an epoch, which is often useful to get epoch level summary stats like total gas cost of an epoch, or the total number of transactions from genesis to the end of an epoch. The committee is stored as a vector of validator pub key and stake pairs. The vector should be sorted based on the Committee data structure.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/AuthorityPublicKeyBytes" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } }, "nextEpochProtocolVersion": { "description": "The protocol version that is in effect during the epoch that starts immediately after this checkpoint.", "allOf": [ { "$ref": "#/components/schemas/ProtocolVersion" } ] } } }, "EndOfEpochInfo": { "type": "object", "required": [ "burntTokensAmount", "epochEndTimestamp", "lastCheckpointId", "mintedTokensAmount", "protocolVersion", "referenceGasPrice", "storageCharge", "storageFundBalance", "storageRebate", "totalGasFees", "totalStake", "totalStakeRewardsDistributed" ], "properties": { "burntTokensAmount": { "type": "string" }, "epochEndTimestamp": { "type": "string" }, "lastCheckpointId": { "type": "string" }, "mintedTokensAmount": { "type": "string" }, "protocolVersion": { "description": "existing fields from `SystemEpochInfoEventV1` (without epoch)", "type": "string" }, "referenceGasPrice": { "type": "string" }, "storageCharge": { "type": "string" }, "storageFundBalance": { "type": "string" }, "storageRebate": { "type": "string" }, "totalGasFees": { "type": "string" }, "totalStake": { "type": "string" }, "totalStakeRewardsDistributed": { "type": "string" } } }, "EpochInfo": { "type": "object", "required": [ "epoch", "epochStartTimestamp", "epochTotalTransactions", "firstCheckpointId", "validators" ], "properties": { "committeeMembers": { "description": "Committee validators. Each element is an index pointing to `validators`.", "type": "array", "items": { "type": "string" } }, "endOfEpochInfo": { "description": "The end of epoch information.", "anyOf": [ { "$ref": "#/components/schemas/EndOfEpochInfo" }, { "type": "null" } ] }, "epoch": { "description": "Epoch number", "type": "string" }, "epochStartTimestamp": { "description": "The timestamp when the epoch started.", "type": "string" }, "epochTotalTransactions": { "description": "Count of tx in epoch", "type": "string" }, "firstCheckpointId": { "description": "First, last checkpoint sequence numbers", "type": "string" }, "referenceGasPrice": { "description": "The reference gas price for the given epoch.", "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "validators": { "description": "List of validators included in epoch", "type": "array", "items": { "$ref": "#/components/schemas/IotaValidatorSummary" } } } }, "EpochMetrics": { "description": "A light-weight version of `EpochInfo` for faster loading", "type": "object", "required": [ "epoch", "epochStartTimestamp", "epochTotalTransactions", "firstCheckpointId" ], "properties": { "endOfEpochInfo": { "description": "The end of epoch information.", "anyOf": [ { "$ref": "#/components/schemas/EndOfEpochInfo" }, { "type": "null" } ] }, "epoch": { "description": "The current epoch ID.", "type": "string" }, "epochStartTimestamp": { "description": "The timestamp when the epoch started.", "type": "string" }, "epochTotalTransactions": { "description": "The total number of transactions in the epoch.", "type": "string" }, "firstCheckpointId": { "description": "The first checkpoint ID of the epoch.", "type": "string" } } }, "Event": { "type": "object", "oneOf": [ { "type": "object", "required": [ "bcs", "bcsEncoding" ], "properties": { "bcs": { "$ref": "#/components/schemas/Base64" }, "bcsEncoding": { "type": "string", "enum": [ "base64" ] } } }, { "type": "object", "required": [ "bcs", "bcsEncoding" ], "properties": { "bcs": { "$ref": "#/components/schemas/Base58" }, "bcsEncoding": { "type": "string", "enum": [ "base58" ] } } } ], "required": [ "id", "packageId", "parsedJson", "sender", "transactionModule", "type" ], "properties": { "id": { "description": "Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A higher id is an event seen later by that fullnode. This ID is the \"cursor\" for event querying.", "allOf": [ { "$ref": "#/components/schemas/EventID" } ] }, "packageId": { "description": "Move package where this event was emitted.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "parsedJson": { "description": "Parsed json value of the event" }, "sender": { "description": "Sender's IOTA address.", "allOf": [ { "$ref": "#/components/schemas/IotaAddress" } ] }, "timestampMs": { "description": "UTC timestamp in milliseconds since epoch (1/1/1970)", "type": [ "string", "null" ] }, "transactionModule": { "description": "Move module where this event was emitted.", "allOf": [ { "$ref": "#/components/schemas/Identifier" } ] }, "type": { "description": "Move event type.", "allOf": [ { "$ref": "#/components/schemas/StructTag" } ] } } }, "EventFilter": { "oneOf": [ { "description": "Query by sender address.", "type": "object", "required": [ "Sender" ], "properties": { "Sender": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Return events emitted by the given transaction.", "type": "object", "required": [ "Transaction" ], "properties": { "Transaction": { "$ref": "#/components/schemas/Base58" } }, "additionalProperties": false }, { "description": "Return events emitted in a specified Package.", "type": "object", "required": [ "Package" ], "properties": { "Package": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Return events emitted in a specified Move module. If the event is defined in Module A but emitted in a tx with Module B, query `MoveModule` by module B returns the event. Query `MoveEventModule` by module A returns the event too.", "type": "object", "required": [ "MoveModule" ], "properties": { "MoveModule": { "type": "object", "required": [ "module", "package" ], "properties": { "module": { "description": "the module name", "allOf": [ { "$ref": "#/components/schemas/Identifier" } ] }, "package": { "description": "the Move package ID", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] } } } }, "additionalProperties": false }, { "description": "Return events with the given Move event struct name (struct tag). For example, if the event is defined in `0xabcd::MyModule`, and named `Foo`, then the struct tag is `0xabcd::MyModule::Foo`.", "type": "object", "required": [ "MoveEventType" ], "properties": { "MoveEventType": { "$ref": "#/components/schemas/StructTag" } }, "additionalProperties": false }, { "description": "Return events with the given Move module name where the event struct is defined. If the event is defined in Module A but emitted in a tx with Module B, query `MoveEventModule` by module A returns the event. Query `MoveModule` by module B returns the event too.", "type": "object", "required": [ "MoveEventModule" ], "properties": { "MoveEventModule": { "type": "object", "required": [ "module", "package" ], "properties": { "module": { "description": "the module name", "allOf": [ { "$ref": "#/components/schemas/Identifier" } ] }, "package": { "description": "the Move package ID", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "MoveEventField" ], "properties": { "MoveEventField": { "type": "object", "required": [ "path", "value" ], "properties": { "path": { "type": "string" }, "value": true } } }, "additionalProperties": false }, { "description": "Return events emitted in [start_time, end_time] interval", "type": "object", "required": [ "TimeRange" ], "properties": { "TimeRange": { "type": "object", "required": [ "endTime", "startTime" ], "properties": { "endTime": { "description": "right endpoint of time interval, milliseconds since epoch, exclusive", "type": "string" }, "startTime": { "description": "left endpoint of time interval, milliseconds since epoch, inclusive", "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "All" ], "properties": { "All": { "type": "array", "items": { "$ref": "#/components/schemas/EventFilter" } } }, "additionalProperties": false }, { "type": "object", "required": [ "Any" ], "properties": { "Any": { "type": "array", "items": { "$ref": "#/components/schemas/EventFilter" } } }, "additionalProperties": false }, { "type": "object", "required": [ "And" ], "properties": { "And": { "type": "array", "items": [ { "$ref": "#/components/schemas/EventFilter" }, { "$ref": "#/components/schemas/EventFilter" } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false }, { "type": "object", "required": [ "Or" ], "properties": { "Or": { "type": "array", "items": [ { "$ref": "#/components/schemas/EventFilter" }, { "$ref": "#/components/schemas/EventFilter" } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false } ] }, "EventID": { "description": "Unique ID of an IOTA Event, the ID is a combination of transaction digest and event seq number.", "type": "object", "required": [ "eventSeq", "txDigest" ], "properties": { "eventSeq": { "type": "string" }, "txDigest": { "$ref": "#/components/schemas/Base58" } } }, "ExecuteTransactionRequestType": { "type": "string", "enum": [ "WaitForEffectsCert", "WaitForLocalExecution" ] }, "ExecutionStatus": { "oneOf": [ { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string", "enum": [ "success" ] } } }, { "type": "object", "required": [ "error", "status" ], "properties": { "error": { "type": "string" }, "status": { "type": "string", "enum": [ "failure" ] } } } ] }, "GasCostSummary": { "description": "Summary of gas charges.\n\nStorage is charged independently of computation. There are 3 parts to the storage charges: - `storage_cost`: it is the charge of storage at the time the transaction is executed. The cost of storage is the number of bytes of the objects being mutated multiplied by a variable storage cost per byte - `storage_rebate`: this is the amount a user gets back when manipulating an object. The `storage_rebate` is the `storage_cost` for an object minus fees. - `non_refundable_storage_fee`: not all the value of the object storage cost is given back to user and there is a small fraction that is kept by the system. This value tracks that charge.\n\nWhen looking at a gas cost summary the amount charged to the user is `computation_cost + storage_cost - storage_rebate` and that is the amount that is deducted from the gas coins. `non_refundable_storage_fee` is collected from the objects being mutated/deleted and it is tracked by the system in storage funds.\n\nObjects deleted, including the older versions of objects mutated, have the storage field on the objects added up to a pool of \"potential rebate\". This rebate then is reduced by the \"nonrefundable rate\" such that: `potential_rebate(storage cost of deleted/mutated objects) = storage_rebate + non_refundable_storage_fee`", "type": "object", "required": [ "computationCost", "computationCostBurned", "nonRefundableStorageFee", "storageCost", "storageRebate" ], "properties": { "computationCost": { "description": "Cost of computation/execution", "type": "string" }, "computationCostBurned": { "description": "The burned component of the computation/execution costs", "type": "string" }, "nonRefundableStorageFee": { "description": "The fee for the rebate. The portion of the storage rebate kept by the system.", "type": "string" }, "storageCost": { "description": "Storage cost, it's the sum of all storage cost for all objects created or mutated.", "type": "string" }, "storageRebate": { "description": "The amount of storage cost refunded to the user for all objects deleted or mutated in the transaction.", "type": "string" } } }, "GasData": { "type": "object", "required": [ "budget", "owner", "payment", "price" ], "properties": { "budget": { "type": "string" }, "owner": { "$ref": "#/components/schemas/IotaAddress" }, "payment": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } }, "price": { "type": "string" } } }, "GenericSignature": { "description": "Base64 encoded signature", "type": "string", "format": "base64" }, "GetPastObjectRequest": { "type": "object", "required": [ "objectId", "version" ], "properties": { "objectId": { "description": "the ID of the queried object", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "version": { "description": "the version of the queried object.", "allOf": [ { "$ref": "#/components/schemas/SequenceNumberString" } ] } } }, "Identifier": { "description": "Move identifier", "type": "string" }, "InputObjectKind": { "oneOf": [ { "type": "object", "required": [ "MovePackage" ], "properties": { "MovePackage": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "type": "object", "required": [ "ImmOrOwnedMoveObject" ], "properties": { "ImmOrOwnedMoveObject": { "$ref": "#/components/schemas/ObjectRef" } }, "additionalProperties": false }, { "type": "object", "required": [ "SharedMoveObject" ], "properties": { "SharedMoveObject": { "type": "object", "required": [ "id", "initial_shared_version" ], "properties": { "id": { "$ref": "#/components/schemas/ObjectID" }, "initial_shared_version": { "$ref": "#/components/schemas/SequenceNumberString" }, "mutable": { "default": true, "type": "boolean" } } } }, "additionalProperties": false } ] }, "IotaAddress": { "description": "IOTA address as a hex string", "type": "string", "format": "hex" }, "IotaArgument": { "description": "An argument to a transaction in a programmable transaction block", "oneOf": [ { "description": "The gas coin. The gas coin can only be used by-ref, except for with `TransferObjects`, which can use it by-value.", "type": "string", "enum": [ "GasCoin" ] }, { "description": "One of the input objects or primitive values (from `ProgrammableTransactionBlock` inputs)", "type": "object", "required": [ "Input" ], "properties": { "Input": { "type": "integer", "format": "uint16", "minimum": 0.0 } }, "additionalProperties": false }, { "description": "The result of another transaction (from `ProgrammableTransactionBlock` transactions)", "type": "object", "required": [ "Result" ], "properties": { "Result": { "type": "integer", "format": "uint16", "minimum": 0.0 } }, "additionalProperties": false }, { "description": "Like a `Result` but it accesses a nested result. Currently, the only usage of this is to access a value from a Move call with multiple return values.", "type": "object", "required": [ "NestedResult" ], "properties": { "NestedResult": { "type": "array", "items": [ { "type": "integer", "format": "uint16", "minimum": 0.0 }, { "type": "integer", "format": "uint16", "minimum": 0.0 } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false } ] }, "IotaCallArg": { "oneOf": [ { "type": "object", "oneOf": [ { "type": "object", "required": [ "digest", "objectId", "objectType", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "type": "string", "enum": [ "immOrOwnedObject" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "type": "object", "required": [ "initialSharedVersion", "mutable", "objectId", "objectType" ], "properties": { "initialSharedVersion": { "$ref": "#/components/schemas/SequenceNumberString" }, "mutable": { "type": "boolean" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "type": "string", "enum": [ "sharedObject" ] } } }, { "type": "object", "required": [ "digest", "objectId", "objectType", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "type": "string", "enum": [ "receiving" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } } ], "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "object" ] } } }, { "type": "object", "required": [ "type", "value" ], "properties": { "type": { "type": "string", "enum": [ "pure" ] }, "value": { "$ref": "#/components/schemas/IotaJsonValue" }, "valueType": { "default": null, "anyOf": [ { "$ref": "#/components/schemas/TypeTag" }, { "type": "null" } ] } } } ] }, "IotaChangeEpoch": { "type": "object", "required": [ "computation_charge", "epoch", "epoch_start_timestamp_ms", "storage_charge", "storage_rebate" ], "properties": { "computation_charge": { "type": "string" }, "epoch": { "type": "string" }, "epoch_start_timestamp_ms": { "type": "string" }, "storage_charge": { "type": "string" }, "storage_rebate": { "type": "string" } } }, "IotaChangeEpochV2": { "type": "object", "required": [ "computation_charge", "computation_charge_burned", "epoch", "epoch_start_timestamp_ms", "storage_charge", "storage_rebate" ], "properties": { "computation_charge": { "type": "string" }, "computation_charge_burned": { "type": "string" }, "eligible_active_validators": { "type": [ "array", "null" ], "items": { "type": "string" } }, "epoch": { "type": "string" }, "epoch_start_timestamp_ms": { "type": "string" }, "scores": { "type": [ "array", "null" ], "items": { "type": "string" } }, "storage_charge": { "type": "string" }, "storage_rebate": { "type": "string" } } }, "IotaCirculatingSupply": { "description": "Provides a summary of the circulating IOTA supply.", "type": "object", "required": [ "atCheckpoint", "circulatingSupplyPercentage", "value" ], "properties": { "atCheckpoint": { "description": "Timestamp (UTC) when the circulating supply was calculated.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "circulatingSupplyPercentage": { "description": "Percentage of total supply that is currently circulating (range: 0.0 to 1.0).", "type": "number", "format": "double" }, "value": { "description": "Circulating supply in NANOS at the given timestamp.", "type": "integer", "format": "uint64", "minimum": 0.0 } } }, "IotaCoinMetadata": { "type": "object", "required": [ "decimals", "description", "name", "symbol" ], "properties": { "decimals": { "description": "Number of decimal places the coin uses.", "type": "integer", "format": "uint8", "minimum": 0.0 }, "description": { "description": "Description of the token", "type": "string" }, "iconUrl": { "description": "URL for the token logo", "type": [ "string", "null" ] }, "id": { "description": "Object id for the CoinMetadata object", "default": null, "anyOf": [ { "$ref": "#/components/schemas/ObjectID" }, { "type": "null" } ] }, "name": { "description": "Name for the token", "type": "string" }, "symbol": { "description": "Symbol for the token", "type": "string" } } }, "IotaEndOfEpochTransactionKind": { "oneOf": [ { "type": "object", "required": [ "ChangeEpoch" ], "properties": { "ChangeEpoch": { "$ref": "#/components/schemas/IotaChangeEpoch" } }, "additionalProperties": false }, { "type": "object", "required": [ "ChangeEpochV2" ], "properties": { "ChangeEpochV2": { "$ref": "#/components/schemas/IotaChangeEpochV2" } }, "additionalProperties": false } ] }, "IotaExecutionResult": { "type": "object", "properties": { "mutableReferenceOutputs": { "description": "The value of any arguments that were mutably borrowed. Non-mut borrowed values are not included", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaArgument" }, { "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, { "$ref": "#/components/schemas/TypeTag" } ], "maxItems": 3, "minItems": 3 } }, "returnValues": { "description": "The return values from the transaction", "type": "array", "items": { "type": "array", "items": [ { "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, { "$ref": "#/components/schemas/TypeTag" } ], "maxItems": 2, "minItems": 2 } } } }, "IotaJsonValue": {}, "IotaMoveAbility": { "type": "string", "enum": [ "Copy", "Drop", "Store", "Key" ] }, "IotaMoveAbilitySet": { "type": "object", "required": [ "abilities" ], "properties": { "abilities": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveAbility" } } } }, "IotaMoveModuleId": { "type": "object", "required": [ "address", "name" ], "properties": { "address": { "type": "string" }, "name": { "type": "string" } } }, "IotaMoveNormalizedEnum": { "type": "object", "required": [ "abilities", "typeParameters", "variants" ], "properties": { "abilities": { "$ref": "#/components/schemas/IotaMoveAbilitySet" }, "typeParameters": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveStructTypeParameter" } }, "variants": { "type": "object", "additionalProperties": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveNormalizedField" } } } } }, "IotaMoveNormalizedField": { "type": "object", "required": [ "name", "type" ], "properties": { "name": { "type": "string" }, "type": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } } }, "IotaMoveNormalizedFunction": { "type": "object", "required": [ "isEntry", "parameters", "return", "typeParameters", "visibility" ], "properties": { "isEntry": { "type": "boolean" }, "parameters": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } }, "return": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } }, "typeParameters": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveAbilitySet" } }, "visibility": { "$ref": "#/components/schemas/IotaMoveVisibility" } } }, "IotaMoveNormalizedModule": { "type": "object", "required": [ "address", "exposedFunctions", "fileFormatVersion", "friends", "name", "structs" ], "properties": { "address": { "type": "string" }, "enums": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/IotaMoveNormalizedEnum" } }, "exposedFunctions": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/IotaMoveNormalizedFunction" } }, "fileFormatVersion": { "type": "integer", "format": "uint32", "minimum": 0.0 }, "friends": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveModuleId" } }, "name": { "type": "string" }, "structs": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/IotaMoveNormalizedStruct" } } } }, "IotaMoveNormalizedStruct": { "type": "object", "required": [ "abilities", "fields", "typeParameters" ], "properties": { "abilities": { "$ref": "#/components/schemas/IotaMoveAbilitySet" }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveNormalizedField" } }, "typeParameters": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveStructTypeParameter" } } } }, "IotaMoveNormalizedType": { "oneOf": [ { "type": "string", "enum": [ "Bool", "U8", "U16", "U32", "U64", "U128", "U256", "Address", "Signer" ] }, { "type": "object", "required": [ "Struct" ], "properties": { "Struct": { "type": "object", "required": [ "address", "module", "name", "typeArguments" ], "properties": { "address": { "type": "string" }, "module": { "type": "string" }, "name": { "type": "string" }, "typeArguments": { "type": "array", "items": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } } } } }, "additionalProperties": false }, { "type": "object", "required": [ "Vector" ], "properties": { "Vector": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } }, "additionalProperties": false }, { "type": "object", "required": [ "TypeParameter" ], "properties": { "TypeParameter": { "type": "integer", "format": "uint16", "minimum": 0.0 } }, "additionalProperties": false }, { "type": "object", "required": [ "Reference" ], "properties": { "Reference": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } }, "additionalProperties": false }, { "type": "object", "required": [ "MutableReference" ], "properties": { "MutableReference": { "$ref": "#/components/schemas/IotaMoveNormalizedType" } }, "additionalProperties": false } ] }, "IotaMoveStructTypeParameter": { "type": "object", "required": [ "constraints", "isPhantom" ], "properties": { "constraints": { "$ref": "#/components/schemas/IotaMoveAbilitySet" }, "isPhantom": { "type": "boolean" } } }, "IotaMoveViewCallResults": { "oneOf": [ { "description": "Execution error from executing the move view call", "type": "object", "required": [ "executionError" ], "properties": { "executionError": { "type": "string" } }, "additionalProperties": false }, { "description": "The return values of the move view function", "type": "object", "required": [ "functionReturnValues" ], "properties": { "functionReturnValues": { "type": "array", "items": { "$ref": "#/components/schemas/MoveValue" } } }, "additionalProperties": false } ] }, "IotaMoveVisibility": { "type": "string", "enum": [ "Private", "Public", "Friend" ] }, "IotaNameRecord": { "description": "A single record in the registry.", "type": "object", "required": [ "data", "expirationTimestampMs", "nftId" ], "properties": { "data": { "description": "Additional data which may be stored in a record", "type": "object", "additionalProperties": { "type": "string" } }, "expirationTimestampMs": { "description": "Timestamp in milliseconds when the record expires.", "type": "integer", "format": "uint64", "minimum": 0.0 }, "nftId": { "description": "The ID of the registration NFT assigned to this record.\n\nThe owner of the corresponding NFT has the rights to be able to change and adjust the `target_address` of this name.\n\nIt is possible that the ID changes if the record expires and is purchased by someone else.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "targetAddress": { "description": "The target address that this name points to", "default": null, "anyOf": [ { "$ref": "#/components/schemas/IotaAddress" }, { "type": "null" } ] } } }, "IotaObjectDataFilter": { "oneOf": [ { "type": "object", "required": [ "MatchAll" ], "properties": { "MatchAll": { "type": "array", "items": { "$ref": "#/components/schemas/IotaObjectDataFilter" } } }, "additionalProperties": false }, { "type": "object", "required": [ "MatchAny" ], "properties": { "MatchAny": { "type": "array", "items": { "$ref": "#/components/schemas/IotaObjectDataFilter" } } }, "additionalProperties": false }, { "type": "object", "required": [ "MatchNone" ], "properties": { "MatchNone": { "type": "array", "items": { "$ref": "#/components/schemas/IotaObjectDataFilter" } } }, "additionalProperties": false }, { "description": "Query by type a specified Package.", "type": "object", "required": [ "Package" ], "properties": { "Package": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Query by type a specified Move module.", "type": "object", "required": [ "MoveModule" ], "properties": { "MoveModule": { "type": "object", "required": [ "module", "package" ], "properties": { "module": { "description": "the module name", "allOf": [ { "$ref": "#/components/schemas/Identifier" } ] }, "package": { "description": "the Move package ID", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] } } } }, "additionalProperties": false }, { "description": "Query by type", "type": "object", "required": [ "StructType" ], "properties": { "StructType": { "$ref": "#/components/schemas/StructTag" } }, "additionalProperties": false }, { "type": "object", "required": [ "AddressOwner" ], "properties": { "AddressOwner": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "type": "object", "required": [ "ObjectOwner" ], "properties": { "ObjectOwner": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "type": "object", "required": [ "ObjectId" ], "properties": { "ObjectId": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "type": "object", "required": [ "ObjectIds" ], "properties": { "ObjectIds": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, "additionalProperties": false }, { "type": "object", "required": [ "Version" ], "properties": { "Version": { "type": "string" } }, "additionalProperties": false } ] }, "IotaObjectResponse": { "type": "object", "properties": { "data": { "anyOf": [ { "$ref": "#/components/schemas/ObjectData" }, { "type": "null" } ] }, "error": { "anyOf": [ { "$ref": "#/components/schemas/ObjectResponseError" }, { "type": "null" } ] } } }, "IotaProgrammableMoveCall": { "description": "The transaction for calling a Move function, either an entry function or a public function (which cannot return references).", "type": "object", "required": [ "function", "module", "package" ], "properties": { "arguments": { "description": "The arguments to the function.", "type": "array", "items": { "$ref": "#/components/schemas/IotaArgument" } }, "function": { "description": "The function to be called.", "type": "string" }, "module": { "description": "The specific module in the package containing the function.", "type": "string" }, "package": { "description": "The package containing the module and function.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "type_arguments": { "description": "The type arguments to the function.", "type": "array", "items": { "type": "string" } } } }, "IotaSystemStateSummary": { "description": "This is the JSON-RPC type for IOTA system state objects. It is an enum type that can represent either V1 or V2 system state objects.", "oneOf": [ { "type": "object", "required": [ "V1" ], "properties": { "V1": { "$ref": "#/components/schemas/IotaSystemStateSummaryV1" } }, "additionalProperties": false }, { "type": "object", "required": [ "V2" ], "properties": { "V2": { "$ref": "#/components/schemas/IotaSystemStateSummaryV2" } }, "additionalProperties": false } ] }, "IotaSystemStateSummaryV1": { "description": "This is the JSON-RPC type for the [`IotaSystemStateSummaryV1`](iota_types::iota_system_state::iota_system_state_summary::IotaSystemStateSummaryV1) object.", "type": "object", "required": [ "activeValidators", "atRiskValidators", "epoch", "epochDurationMs", "epochStartTimestampMs", "inactivePoolsId", "inactivePoolsSize", "iotaTotalSupply", "iotaTreasuryCapId", "maxValidatorCount", "minValidatorCount", "minValidatorJoiningStake", "pendingActiveValidatorsId", "pendingActiveValidatorsSize", "pendingRemovals", "protocolVersion", "referenceGasPrice", "safeMode", "safeModeComputationRewards", "safeModeNonRefundableStorageFee", "safeModeStorageCharges", "safeModeStorageRebates", "stakingPoolMappingsId", "stakingPoolMappingsSize", "storageFundNonRefundableBalance", "storageFundTotalObjectStorageRebates", "systemStateVersion", "totalStake", "validatorCandidatesId", "validatorCandidatesSize", "validatorLowStakeGracePeriod", "validatorLowStakeThreshold", "validatorReportRecords", "validatorVeryLowStakeThreshold" ], "properties": { "activeValidators": { "description": "The list of active validators in the current epoch.", "type": "array", "items": { "$ref": "#/components/schemas/IotaValidatorSummary" } }, "atRiskValidators": { "description": "Map storing the number of epochs for which each validator has been below the low stake threshold.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaAddress" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } }, "epoch": { "description": "The current epoch ID, starting from 0.", "type": "string" }, "epochDurationMs": { "description": "The duration of an epoch, in milliseconds.", "type": "string" }, "epochStartTimestampMs": { "description": "Unix timestamp of the current epoch start", "type": "string" }, "inactivePoolsId": { "description": "ID of the object that maps from a staking pool ID to the inactive validator that has that pool as its staking pool.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "inactivePoolsSize": { "description": "Number of inactive staking pools.", "type": "string" }, "iotaTotalSupply": { "description": "The current IOTA supply.", "type": "string" }, "iotaTreasuryCapId": { "description": "The `TreasuryCap` object ID.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "maxValidatorCount": { "description": "Maximum number of active validators at any moment. We do not allow the number of validators in any epoch to go above this.", "type": "string" }, "minValidatorCount": { "description": "Minimum number of active validators at any moment. We do not allow the number of validators in any epoch to go under this.", "type": "string" }, "minValidatorJoiningStake": { "description": "Lower-bound on the amount of stake required to become a validator.", "type": "string" }, "pendingActiveValidatorsId": { "description": "ID of the object that contains the list of new validators that will join at the end of the epoch.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "pendingActiveValidatorsSize": { "description": "Number of new validators that will join at the end of the epoch.", "type": "string" }, "pendingRemovals": { "description": "Removal requests from the validators. Each element is an index pointing to `active_validators`.", "type": "array", "items": { "type": "string" } }, "protocolVersion": { "description": "The current protocol version, starting from 1.", "type": "string" }, "referenceGasPrice": { "description": "The reference gas price for the current epoch.", "type": "string" }, "safeMode": { "description": "Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can be reset once we are able to successfully execute advance_epoch.", "type": "boolean" }, "safeModeComputationRewards": { "description": "Amount of computation rewards accumulated (and not yet distributed) during safe mode.", "type": "string" }, "safeModeNonRefundableStorageFee": { "description": "Amount of non-refundable storage fee accumulated during safe mode.", "type": "string" }, "safeModeStorageCharges": { "description": "Amount of storage charges accumulated (and not yet distributed) during safe mode.", "type": "string" }, "safeModeStorageRebates": { "description": "Amount of storage rebates accumulated (and not yet burned) during safe mode.", "type": "string" }, "stakingPoolMappingsId": { "description": "ID of the object that maps from staking pool's ID to the iota address of a validator.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "stakingPoolMappingsSize": { "description": "Number of staking pool mappings.", "type": "string" }, "storageFundNonRefundableBalance": { "description": "The non-refundable portion of the storage fund coming from non-refundable storage rebates and any leftover staking rewards.", "type": "string" }, "storageFundTotalObjectStorageRebates": { "description": "The storage rebates of all the objects on-chain stored in the storage fund.", "type": "string" }, "systemStateVersion": { "description": "The current version of the system state data structure type.", "type": "string" }, "totalStake": { "description": "Total amount of stake from all active validators at the beginning of the epoch.", "type": "string" }, "validatorCandidatesId": { "description": "ID of the object that stores preactive validators, mapping their addresses to their `Validator` structs.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "validatorCandidatesSize": { "description": "Number of preactive validators.", "type": "string" }, "validatorLowStakeGracePeriod": { "description": "A validator can have stake below `validator_low_stake_threshold` for this many epochs before being kicked out.", "type": "string" }, "validatorLowStakeThreshold": { "description": "Validators with stake amount below `validator_low_stake_threshold` are considered to have low stake and will be escorted out of the validator set after being below this threshold for more than `validator_low_stake_grace_period` number of epochs.", "type": "string" }, "validatorReportRecords": { "description": "A map storing the records of validator reporting each other.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaAddress" }, { "type": "array", "items": { "$ref": "#/components/schemas/IotaAddress" } } ], "maxItems": 2, "minItems": 2 } }, "validatorVeryLowStakeThreshold": { "description": "Validators with stake below `validator_very_low_stake_threshold` will be removed immediately at epoch change, no grace period.", "type": "string" } } }, "IotaSystemStateSummaryV2": { "description": "This is the JSON-RPC type for the [`IotaSystemStateSummaryV2`](iota_types::iota_system_state::iota_system_state_summary::IotaSystemStateSummaryV2) object.", "type": "object", "required": [ "activeValidators", "atRiskValidators", "committeeMembers", "epoch", "epochDurationMs", "epochStartTimestampMs", "inactivePoolsId", "inactivePoolsSize", "iotaTotalSupply", "iotaTreasuryCapId", "maxValidatorCount", "minValidatorCount", "minValidatorJoiningStake", "pendingActiveValidatorsId", "pendingActiveValidatorsSize", "pendingRemovals", "protocolVersion", "referenceGasPrice", "safeMode", "safeModeComputationCharges", "safeModeComputationChargesBurned", "safeModeNonRefundableStorageFee", "safeModeStorageCharges", "safeModeStorageRebates", "stakingPoolMappingsId", "stakingPoolMappingsSize", "storageFundNonRefundableBalance", "storageFundTotalObjectStorageRebates", "systemStateVersion", "totalStake", "validatorCandidatesId", "validatorCandidatesSize", "validatorLowStakeGracePeriod", "validatorLowStakeThreshold", "validatorReportRecords", "validatorVeryLowStakeThreshold" ], "properties": { "activeValidators": { "description": "The list of active validators in the current epoch.", "type": "array", "items": { "$ref": "#/components/schemas/IotaValidatorSummary" } }, "atRiskValidators": { "description": "Map storing the number of epochs for which each validator has been below the low stake threshold.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaAddress" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } }, "committeeMembers": { "description": "List of committee validators in the current epoch. Each element is an index pointing to `active_validators`.", "type": "array", "items": { "type": "string" } }, "epoch": { "description": "The current epoch ID, starting from 0.", "type": "string" }, "epochDurationMs": { "description": "The duration of an epoch, in milliseconds.", "type": "string" }, "epochStartTimestampMs": { "description": "Unix timestamp of the current epoch start", "type": "string" }, "inactivePoolsId": { "description": "ID of the object that maps from a staking pool ID to the inactive validator that has that pool as its staking pool.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "inactivePoolsSize": { "description": "Number of inactive staking pools.", "type": "string" }, "iotaTotalSupply": { "description": "The current IOTA supply.", "type": "string" }, "iotaTreasuryCapId": { "description": "The `TreasuryCap` object ID.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "maxValidatorCount": { "description": "Maximum number of active validators at any moment. We do not allow the number of validators in any epoch to go above this.", "type": "string" }, "minValidatorCount": { "description": "Minimum number of active validators at any moment. We do not allow the number of validators in any epoch to go under this.", "type": "string" }, "minValidatorJoiningStake": { "description": "Lower-bound on the amount of stake required to become a validator.", "type": "string" }, "pendingActiveValidatorsId": { "description": "ID of the object that contains the list of new validators that will join at the end of the epoch.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "pendingActiveValidatorsSize": { "description": "Number of new validators that will join at the end of the epoch.", "type": "string" }, "pendingRemovals": { "description": "Removal requests from the validators. Each element is an index pointing to `active_validators`.", "type": "array", "items": { "type": "string" } }, "protocolVersion": { "description": "The current protocol version, starting from 1.", "type": "string" }, "referenceGasPrice": { "description": "The reference gas price for the current epoch.", "type": "string" }, "safeMode": { "description": "Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can be reset once we are able to successfully execute advance_epoch.", "type": "boolean" }, "safeModeComputationCharges": { "description": "Amount of computation charges accumulated (and not yet distributed) during safe mode.", "type": "string" }, "safeModeComputationChargesBurned": { "description": "Amount of burned computation charges accumulated during safe mode.", "type": "string" }, "safeModeNonRefundableStorageFee": { "description": "Amount of non-refundable storage fee accumulated during safe mode.", "type": "string" }, "safeModeStorageCharges": { "description": "Amount of storage charges accumulated (and not yet distributed) during safe mode.", "type": "string" }, "safeModeStorageRebates": { "description": "Amount of storage rebates accumulated (and not yet burned) during safe mode.", "type": "string" }, "stakingPoolMappingsId": { "description": "ID of the object that maps from staking pool's ID to the iota address of a validator.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "stakingPoolMappingsSize": { "description": "Number of staking pool mappings.", "type": "string" }, "storageFundNonRefundableBalance": { "description": "The non-refundable portion of the storage fund coming from non-refundable storage rebates and any leftover staking rewards.", "type": "string" }, "storageFundTotalObjectStorageRebates": { "description": "The storage rebates of all the objects on-chain stored in the storage fund.", "type": "string" }, "systemStateVersion": { "description": "The current version of the system state data structure type.", "type": "string" }, "totalStake": { "description": "Total amount of stake from all committee validators at the beginning of the epoch.", "type": "string" }, "validatorCandidatesId": { "description": "ID of the object that stores preactive validators, mapping their addresses to their `Validator` structs.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "validatorCandidatesSize": { "description": "Number of preactive validators.", "type": "string" }, "validatorLowStakeGracePeriod": { "description": "A validator can have stake below `validator_low_stake_threshold` for this many epochs before being kicked out.", "type": "string" }, "validatorLowStakeThreshold": { "description": "Validators with stake amount below `validator_low_stake_threshold` are considered to have low stake and will be escorted out of the validator set after being below this threshold for more than `validator_low_stake_grace_period` number of epochs.", "type": "string" }, "validatorReportRecords": { "description": "A map storing the records of validator reporting each other.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaAddress" }, { "type": "array", "items": { "$ref": "#/components/schemas/IotaAddress" } } ], "maxItems": 2, "minItems": 2 } }, "validatorVeryLowStakeThreshold": { "description": "Validators with stake below `validator_very_low_stake_threshold` will be removed immediately at epoch change, no grace period.", "type": "string" } } }, "IotaTransaction": { "description": "A single transaction in a programmable transaction block.", "oneOf": [ { "description": "A call to either an entry or a public Move function", "type": "object", "required": [ "MoveCall" ], "properties": { "MoveCall": { "$ref": "#/components/schemas/IotaProgrammableMoveCall" } }, "additionalProperties": false }, { "description": "`(Vec, address)` It sends n-objects to the specified address. These objects must have store (public transfer) and either the previous owner must be an address or the object must be newly created.", "type": "object", "required": [ "TransferObjects" ], "properties": { "TransferObjects": { "type": "array", "items": [ { "type": "array", "items": { "$ref": "#/components/schemas/IotaArgument" } }, { "$ref": "#/components/schemas/IotaArgument" } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false }, { "description": "`(&mut Coin, Vec)` -> `Vec>` It splits off some amounts into a new coins with those amounts", "type": "object", "required": [ "SplitCoins" ], "properties": { "SplitCoins": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaArgument" }, { "type": "array", "items": { "$ref": "#/components/schemas/IotaArgument" } } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false }, { "description": "`(&mut Coin, Vec>)` It merges n-coins into the first coin", "type": "object", "required": [ "MergeCoins" ], "properties": { "MergeCoins": { "type": "array", "items": [ { "$ref": "#/components/schemas/IotaArgument" }, { "type": "array", "items": { "$ref": "#/components/schemas/IotaArgument" } } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false }, { "description": "Publishes a Move package. It takes the package bytes and a list of the package's transitive dependencies to link against on-chain.", "type": "object", "required": [ "Publish" ], "properties": { "Publish": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } }, "additionalProperties": false }, { "description": "Upgrades a Move package", "type": "object", "required": [ "Upgrade" ], "properties": { "Upgrade": { "type": "array", "items": [ { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } }, { "$ref": "#/components/schemas/ObjectID" }, { "$ref": "#/components/schemas/IotaArgument" } ], "maxItems": 3, "minItems": 3 } }, "additionalProperties": false }, { "description": "`forall T: Vec -> vector` Given n-values of the same type, it constructs a vector. For non objects or an empty vector, the type tag must be specified.", "type": "object", "required": [ "MakeMoveVec" ], "properties": { "MakeMoveVec": { "type": "array", "items": [ { "type": [ "string", "null" ] }, { "type": "array", "items": { "$ref": "#/components/schemas/IotaArgument" } } ], "maxItems": 2, "minItems": 2 } }, "additionalProperties": false } ] }, "IotaTransactionBlockBuilderMode": { "oneOf": [ { "description": "Regular IOTA Transactions that are committed on chain", "type": "string", "enum": [ "Commit" ] }, { "description": "Simulated transaction that allows calling any Move function with arbitrary values.", "type": "string", "enum": [ "DevInspect" ] } ] }, "IotaTransactionKind": { "description": "Represents the type of a transaction. All transactions except `ProgrammableTransaction` are considered system transactions.", "oneOf": [ { "type": "string", "enum": [ "ProgrammableTransaction", "Genesis", "ConsensusCommitPrologueV1", "RandomnessStateUpdate", "EndOfEpochTransaction" ] }, { "description": "The `SystemTransaction` variant can be used to filter for all types of system transactions.", "type": "string", "enum": [ "SystemTransaction" ] } ] }, "IotaValidatorSummary": { "description": "This is the JSON-RPC type for the IOTA validator. It flattens all inner structures to top-level fields so that they are decoupled from the internal definitions.", "type": "object", "required": [ "authorityPubkeyBytes", "commissionRate", "description", "exchangeRatesId", "exchangeRatesSize", "gasPrice", "imageUrl", "iotaAddress", "name", "netAddress", "networkPubkeyBytes", "nextEpochCommissionRate", "nextEpochGasPrice", "nextEpochStake", "operationCapId", "p2pAddress", "pendingPoolTokenWithdraw", "pendingStake", "pendingTotalIotaWithdraw", "poolTokenBalance", "primaryAddress", "projectUrl", "proofOfPossessionBytes", "protocolPubkeyBytes", "rewardsPool", "stakingPoolId", "stakingPoolIotaBalance", "votingPower" ], "properties": { "authorityPubkeyBytes": { "$ref": "#/components/schemas/Base64" }, "commissionRate": { "type": "string" }, "description": { "type": "string" }, "effectiveCommissionRate": { "default": null, "type": [ "string", "null" ] }, "exchangeRatesId": { "description": "ID of the exchange rate table object.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "exchangeRatesSize": { "description": "Number of exchange rates in the table.", "type": "string" }, "gasPrice": { "type": "string" }, "imageUrl": { "type": "string" }, "iotaAddress": { "$ref": "#/components/schemas/IotaAddress" }, "name": { "type": "string" }, "netAddress": { "type": "string" }, "networkPubkeyBytes": { "$ref": "#/components/schemas/Base64" }, "nextEpochAuthorityPubkeyBytes": { "default": null, "anyOf": [ { "$ref": "#/components/schemas/Base64" }, { "type": "null" } ] }, "nextEpochCommissionRate": { "type": "string" }, "nextEpochGasPrice": { "type": "string" }, "nextEpochNetAddress": { "type": [ "string", "null" ] }, "nextEpochNetworkPubkeyBytes": { "default": null, "anyOf": [ { "$ref": "#/components/schemas/Base64" }, { "type": "null" } ] }, "nextEpochP2pAddress": { "type": [ "string", "null" ] }, "nextEpochPrimaryAddress": { "type": [ "string", "null" ] }, "nextEpochProofOfPossession": { "default": null, "anyOf": [ { "$ref": "#/components/schemas/Base64" }, { "type": "null" } ] }, "nextEpochProtocolPubkeyBytes": { "default": null, "anyOf": [ { "$ref": "#/components/schemas/Base64" }, { "type": "null" } ] }, "nextEpochStake": { "type": "string" }, "operationCapId": { "$ref": "#/components/schemas/ObjectID" }, "p2pAddress": { "type": "string" }, "pendingPoolTokenWithdraw": { "description": "Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.", "type": "string" }, "pendingStake": { "description": "Pending stake amount for this epoch.", "type": "string" }, "pendingTotalIotaWithdraw": { "description": "Pending stake withdrawn during the current epoch, emptied at epoch boundaries.", "type": "string" }, "poolTokenBalance": { "description": "Total number of pool tokens issued by the pool.", "type": "string" }, "primaryAddress": { "type": "string" }, "projectUrl": { "type": "string" }, "proofOfPossessionBytes": { "$ref": "#/components/schemas/Base64" }, "protocolPubkeyBytes": { "$ref": "#/components/schemas/Base64" }, "rewardsPool": { "description": "The epoch stake rewards will be added here at the end of each epoch.", "type": "string" }, "stakingPoolActivationEpoch": { "description": "The epoch at which this pool became active.", "default": null, "type": [ "string", "null" ] }, "stakingPoolDeactivationEpoch": { "description": "The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},", "default": null, "type": [ "string", "null" ] }, "stakingPoolId": { "description": "ID of the staking pool object.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "stakingPoolIotaBalance": { "description": "The total number of IOTA tokens in this pool.", "type": "string" }, "votingPower": { "type": "string" } } }, "MoveCallMetrics": { "type": "object", "required": [ "rank30Days", "rank3Days", "rank7Days" ], "properties": { "rank30Days": { "description": "The count of calls of each function in the last 30 days.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/MoveFunctionName" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } }, "rank3Days": { "description": "The count of calls of each function in the last 3 days.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/MoveFunctionName" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } }, "rank7Days": { "description": "The count of calls of each function in the last 7 days.", "type": "array", "items": { "type": "array", "items": [ { "$ref": "#/components/schemas/MoveFunctionName" }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } } } }, "MoveCallParams": { "type": "object", "required": [ "arguments", "function", "module", "packageObjectId" ], "properties": { "arguments": { "type": "array", "items": { "$ref": "#/components/schemas/PtbInput" } }, "function": { "type": "string" }, "module": { "type": "string" }, "packageObjectId": { "$ref": "#/components/schemas/ObjectID" }, "typeArguments": { "default": [], "type": "array", "items": { "$ref": "#/components/schemas/TypeTag" } } } }, "MoveFunctionArgType": { "oneOf": [ { "type": "string", "enum": [ "Pure" ] }, { "type": "object", "required": [ "Object" ], "properties": { "Object": { "$ref": "#/components/schemas/ObjectValueKind" } }, "additionalProperties": false } ] }, "MoveFunctionName": { "description": "Identifies a Move function.", "type": "object", "required": [ "function", "module", "package" ], "properties": { "function": { "description": "The function name.", "type": "string" }, "module": { "description": "The module name to which the function belongs.", "type": "string" }, "package": { "description": "The package ID to which the function belongs.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] } } }, "MoveStruct": { "anyOf": [ { "type": "array", "items": { "$ref": "#/components/schemas/MoveValue" } }, { "type": "object", "required": [ "fields", "type" ], "properties": { "fields": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/MoveValue" } }, "type": { "$ref": "#/components/schemas/StructTag" } } }, { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/MoveValue" } } ] }, "MoveValue": { "anyOf": [ { "type": "integer", "format": "uint32", "minimum": 0.0 }, { "type": "boolean" }, { "$ref": "#/components/schemas/IotaAddress" }, { "type": "array", "items": { "$ref": "#/components/schemas/MoveValue" } }, { "type": "string" }, { "type": "object", "required": [ "id" ], "properties": { "id": { "$ref": "#/components/schemas/ObjectID" } } }, { "$ref": "#/components/schemas/MoveStruct" }, { "anyOf": [ { "$ref": "#/components/schemas/MoveValue" }, { "type": "null" } ] }, { "$ref": "#/components/schemas/MoveVariant" } ] }, "MoveVariant": { "type": "object", "required": [ "fields", "type", "variant" ], "properties": { "fields": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/MoveValue" } }, "type": { "$ref": "#/components/schemas/StructTag" }, "variant": { "type": "string" } } }, "NetworkMetrics": { "type": "object", "required": [ "currentCheckpoint", "currentEpoch", "currentTps", "totalAddresses", "totalObjects", "totalPackages", "tps30Days" ], "properties": { "currentCheckpoint": { "description": "Current checkpoint number", "type": "string" }, "currentEpoch": { "description": "Current epoch number", "type": "string" }, "currentTps": { "description": "Current TPS - Transaction Blocks per Second.", "type": "number", "format": "double" }, "totalAddresses": { "description": "Total number of addresses seen in the network", "type": "string" }, "totalObjects": { "description": "Total number of live objects in the network", "type": "string" }, "totalPackages": { "description": "Total number of packages published in the network", "type": "string" }, "tps30Days": { "description": "Peak TPS in the past 30 days", "type": "number", "format": "double" } } }, "ObjectChange": { "description": "ObjectChange are derived from the object mutations in the TransactionEffect to provide richer object information.", "oneOf": [ { "description": "Module published", "type": "object", "required": [ "digest", "modules", "packageId", "type", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "modules": { "type": "array", "items": { "type": "string" } }, "packageId": { "$ref": "#/components/schemas/ObjectID" }, "type": { "type": "string", "enum": [ "published" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "description": "Transfer objects to new address / wrap in another object", "type": "object", "required": [ "digest", "objectId", "objectType", "recipient", "sender", "type", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "$ref": "#/components/schemas/StructTag" }, "recipient": { "$ref": "#/components/schemas/Owner" }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "type": { "type": "string", "enum": [ "transferred" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "description": "Object mutated.", "type": "object", "required": [ "digest", "objectId", "objectType", "owner", "previousVersion", "sender", "type", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "$ref": "#/components/schemas/StructTag" }, "owner": { "$ref": "#/components/schemas/Owner" }, "previousVersion": { "$ref": "#/components/schemas/SequenceNumberString" }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "type": { "type": "string", "enum": [ "mutated" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "description": "Delete object", "type": "object", "required": [ "objectId", "objectType", "sender", "type", "version" ], "properties": { "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "$ref": "#/components/schemas/StructTag" }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "type": { "type": "string", "enum": [ "deleted" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "description": "Wrapped object", "type": "object", "required": [ "objectId", "objectType", "sender", "type", "version" ], "properties": { "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "$ref": "#/components/schemas/StructTag" }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "type": { "type": "string", "enum": [ "wrapped" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "description": "Unwrapped object", "type": "object", "required": [ "digest", "objectId", "objectType", "owner", "sender", "type", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "$ref": "#/components/schemas/StructTag" }, "owner": { "$ref": "#/components/schemas/Owner" }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "type": { "type": "string", "enum": [ "unwrapped" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } }, { "description": "New object creation", "type": "object", "required": [ "digest", "objectId", "objectType", "owner", "sender", "type", "version" ], "properties": { "digest": { "$ref": "#/components/schemas/Base58" }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "objectType": { "$ref": "#/components/schemas/StructTag" }, "owner": { "$ref": "#/components/schemas/Owner" }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "type": { "type": "string", "enum": [ "created" ] }, "version": { "$ref": "#/components/schemas/SequenceNumberString" } } } ] }, "ObjectData": { "type": "object", "required": [ "digest", "objectId", "version" ], "properties": { "bcs": { "description": "Move object content or package content in BCS, default to be None unless IotaObjectDataOptions.showBcs is set to true", "anyOf": [ { "$ref": "#/components/schemas/RawData" }, { "type": "null" } ] }, "content": { "description": "Move object content or package content, default to be None unless IotaObjectDataOptions.showContent is set to true", "anyOf": [ { "$ref": "#/components/schemas/Data" }, { "type": "null" } ] }, "digest": { "description": "Base64 string representing the object digest", "allOf": [ { "$ref": "#/components/schemas/Base58" } ] }, "display": { "description": "The Display metadata for frontend UI rendering, default to be None unless IotaObjectDataOptions.showContent is set to true This can also be None if the struct type does not have Display defined", "anyOf": [ { "$ref": "#/components/schemas/DisplayFieldsResponse" }, { "type": "null" } ] }, "objectId": { "$ref": "#/components/schemas/ObjectID" }, "owner": { "description": "The owner of this object. Default to be None unless IotaObjectDataOptions.showOwner is set to true", "anyOf": [ { "$ref": "#/components/schemas/Owner" }, { "type": "null" } ] }, "previousTransaction": { "description": "The digest of the transaction that created or last mutated this object. Default to be None unless IotaObjectDataOptions. showPreviousTransaction is set to true", "anyOf": [ { "$ref": "#/components/schemas/Base58" }, { "type": "null" } ] }, "storageRebate": { "description": "The amount of IOTA we would rebate if this object gets deleted. This number is re-calculated each time the object is mutated based on the present storage gas price.", "type": [ "string", "null" ] }, "type": { "description": "The type of the object. Default to be None unless IotaObjectDataOptions.showType is set to true", "type": [ "string", "null" ] }, "version": { "description": "Object version.", "allOf": [ { "$ref": "#/components/schemas/SequenceNumberString" } ] } } }, "ObjectDataOptions": { "type": "object", "properties": { "showBcs": { "description": "Whether to show the content in BCS format. Default to be False", "default": false, "type": "boolean" }, "showContent": { "description": "Whether to show the content(i.e., package content or Move struct content) of the object. Default to be False", "default": false, "type": "boolean" }, "showDisplay": { "description": "Whether to show the Display metadata of the object for frontend rendering. Default to be False", "default": false, "type": "boolean" }, "showOwner": { "description": "Whether to show the owner of the object. Default to be False", "default": false, "type": "boolean" }, "showPreviousTransaction": { "description": "Whether to show the previous transaction digest of the object. Default to be False", "default": false, "type": "boolean" }, "showStorageRebate": { "description": "Whether to show the storage rebate of the object. Default to be False", "default": false, "type": "boolean" }, "showType": { "description": "Whether to show the type of the object. Default to be False", "default": false, "type": "boolean" } } }, "ObjectID": { "description": "Object ID as a hex string", "type": "string", "format": "hex" }, "ObjectRead": { "oneOf": [ { "description": "The object exists and is found with this version", "type": "object", "required": [ "details", "status" ], "properties": { "details": { "$ref": "#/components/schemas/ObjectData" }, "status": { "type": "string", "enum": [ "VersionFound" ] } } }, { "description": "The object does not exist", "type": "object", "required": [ "details", "status" ], "properties": { "details": { "$ref": "#/components/schemas/ObjectID" }, "status": { "type": "string", "enum": [ "ObjectNotExists" ] } } }, { "description": "The object is found to be deleted with this version", "type": "object", "required": [ "details", "status" ], "properties": { "details": { "$ref": "#/components/schemas/ObjectRef" }, "status": { "type": "string", "enum": [ "ObjectDeleted" ] } } }, { "description": "The object exists but not found with this version", "type": "object", "required": [ "details", "status" ], "properties": { "details": { "type": "array", "items": [ { "$ref": "#/components/schemas/ObjectID" }, { "$ref": "#/components/schemas/SequenceNumberU64" } ], "maxItems": 2, "minItems": 2 }, "status": { "type": "string", "enum": [ "VersionNotFound" ] } } }, { "description": "The asked object version is higher than the latest", "type": "object", "required": [ "details", "status" ], "properties": { "details": { "type": "object", "required": [ "asked_version", "latest_version", "object_id" ], "properties": { "asked_version": { "$ref": "#/components/schemas/SequenceNumberU64" }, "latest_version": { "$ref": "#/components/schemas/SequenceNumberU64" }, "object_id": { "$ref": "#/components/schemas/ObjectID" } } }, "status": { "type": "string", "enum": [ "VersionTooHigh" ] } } } ] }, "ObjectRef": { "type": "object", "required": [ "digest", "objectId", "version" ], "properties": { "digest": { "description": "Base64 string representing the object digest", "allOf": [ { "$ref": "#/components/schemas/Base58" } ] }, "objectId": { "description": "Hex code as string representing the object id", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "version": { "description": "Object version.", "allOf": [ { "$ref": "#/components/schemas/SequenceNumberU64" } ] } } }, "ObjectResponseError": { "oneOf": [ { "type": "object", "required": [ "code", "object_id" ], "properties": { "code": { "type": "string", "enum": [ "notExists" ] }, "object_id": { "$ref": "#/components/schemas/ObjectID" } } }, { "type": "object", "required": [ "code", "parent_object_id" ], "properties": { "code": { "type": "string", "enum": [ "dynamicFieldNotFound" ] }, "parent_object_id": { "$ref": "#/components/schemas/ObjectID" } } }, { "type": "object", "required": [ "code", "digest", "object_id", "version" ], "properties": { "code": { "type": "string", "enum": [ "deleted" ] }, "digest": { "description": "Base64 string representing the object digest", "allOf": [ { "$ref": "#/components/schemas/Base58" } ] }, "object_id": { "$ref": "#/components/schemas/ObjectID" }, "version": { "description": "Object version.", "allOf": [ { "$ref": "#/components/schemas/SequenceNumberU64" } ] } } }, { "type": "object", "required": [ "code" ], "properties": { "code": { "type": "string", "enum": [ "unknown" ] } } }, { "type": "object", "required": [ "code", "error" ], "properties": { "code": { "type": "string", "enum": [ "display" ] }, "error": { "type": "string" } } } ] }, "ObjectResponseQuery": { "type": "object", "properties": { "filter": { "description": "If None, no filter will be applied", "default": null, "anyOf": [ { "$ref": "#/components/schemas/IotaObjectDataFilter" }, { "type": "null" } ] }, "options": { "description": "config which fields to include in the response, by default only digest is included", "default": null, "anyOf": [ { "$ref": "#/components/schemas/ObjectDataOptions" }, { "type": "null" } ] } } }, "ObjectValueKind": { "type": "string", "enum": [ "ByImmutableReference", "ByMutableReference", "ByValue" ] }, "OwnedObjectRef": { "type": "object", "required": [ "owner", "reference" ], "properties": { "owner": { "$ref": "#/components/schemas/Owner" }, "reference": { "$ref": "#/components/schemas/ObjectRef" } } }, "Owner": { "description": "Enum of different types of ownership for an object.\n\n# BCS\n\nThe BCS serialized form for this type is defined by the following ABNF:\n\n```text owner = owner-address / owner-object / owner-shared / owner-immutable\n\nowner-address = %x00 address owner-object = %x01 object-id owner-shared = %x02 u64 owner-immutable = %x03 ```", "oneOf": [ { "description": "Object is exclusively owned by a single address, and is mutable.", "type": "object", "required": [ "AddressOwner" ], "properties": { "AddressOwner": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Object is exclusively owned by a single object, and is mutable. The object ID is converted to IotaAddress as IotaAddress is universal.", "type": "object", "required": [ "ObjectOwner" ], "properties": { "ObjectOwner": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Object is shared, can be used by any address, and is mutable.", "type": "object", "required": [ "Shared" ], "properties": { "Shared": { "type": "object", "required": [ "initial_shared_version" ], "properties": { "initial_shared_version": { "description": "The version at which the object became shared", "allOf": [ { "$ref": "#/components/schemas/SequenceNumberU64" } ] } } } }, "additionalProperties": false }, { "description": "Object is immutable, and hence ownership doesn't matter.", "type": "string", "enum": [ "Immutable" ] } ] }, "Page_for_Checkpoint_and_String": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Checkpoint" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "type": [ "string", "null" ] } } }, "Page_for_Coin_and_ObjectID": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Coin" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "anyOf": [ { "$ref": "#/components/schemas/ObjectID" }, { "type": "null" } ] } } }, "Page_for_DynamicFieldInfo_and_ObjectID": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/DynamicFieldInfo" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "anyOf": [ { "$ref": "#/components/schemas/ObjectID" }, { "type": "null" } ] } } }, "Page_for_EpochInfo_and_String": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/EpochInfo" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "type": [ "string", "null" ] } } }, "Page_for_EpochMetrics_and_String": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/EpochMetrics" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "type": [ "string", "null" ] } } }, "Page_for_Event_and_EventID": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Event" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "anyOf": [ { "$ref": "#/components/schemas/EventID" }, { "type": "null" } ] } } }, "Page_for_IotaObjectResponse_and_ObjectID": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/IotaObjectResponse" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "anyOf": [ { "$ref": "#/components/schemas/ObjectID" }, { "type": "null" } ] } } }, "Page_for_TransactionBlockResponse_and_Base58": { "description": "`next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first item.", "type": "object", "required": [ "data", "hasNextPage" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/TransactionBlockResponse" } }, "hasNextPage": { "type": "boolean" }, "nextCursor": { "anyOf": [ { "$ref": "#/components/schemas/Base58" }, { "type": "null" } ] } } }, "ParticipationMetrics": { "description": "Provides metrics about the participation in the network.", "type": "object", "required": [ "totalAddresses" ], "properties": { "totalAddresses": { "description": "The count of distinct addresses with delegated stake.", "type": "integer", "format": "uint64", "minimum": 0.0 } } }, "ProtocolConfig": { "type": "object", "required": [ "attributes", "featureFlags", "maxSupportedProtocolVersion", "minSupportedProtocolVersion", "protocolVersion" ], "properties": { "attributes": { "type": "object", "additionalProperties": { "anyOf": [ { "$ref": "#/components/schemas/ProtocolConfigValue" }, { "type": "null" } ] } }, "featureFlags": { "type": "object", "additionalProperties": { "type": "boolean" } }, "maxSupportedProtocolVersion": { "$ref": "#/components/schemas/ProtocolVersion" }, "minSupportedProtocolVersion": { "$ref": "#/components/schemas/ProtocolVersion" }, "protocolVersion": { "$ref": "#/components/schemas/ProtocolVersion" } } }, "ProtocolConfigValue": { "oneOf": [ { "type": "object", "required": [ "u16" ], "properties": { "u16": { "type": "string" } }, "additionalProperties": false }, { "type": "object", "required": [ "u32" ], "properties": { "u32": { "type": "string" } }, "additionalProperties": false }, { "type": "object", "required": [ "u64" ], "properties": { "u64": { "type": "string" } }, "additionalProperties": false }, { "type": "object", "required": [ "f64" ], "properties": { "f64": { "type": "string" } }, "additionalProperties": false }, { "type": "object", "required": [ "bool" ], "properties": { "bool": { "type": "string" } }, "additionalProperties": false } ] }, "ProtocolVersion": { "description": "A schema type that defines the JSON representation of the [`ProtocolVersion`](iota_protocol_config::ProtocolVersion) type as a string and provides an alternate serialization usable via `#[serde_as]`.", "type": "string" }, "PtbInput": { "anyOf": [ { "$ref": "#/components/schemas/IotaArgument" }, { "$ref": "#/components/schemas/IotaJsonValue" } ] }, "RPCTransactionRequestParams": { "oneOf": [ { "type": "object", "required": [ "transferObjectRequestParams" ], "properties": { "transferObjectRequestParams": { "$ref": "#/components/schemas/TransferObjectParams" } }, "additionalProperties": false }, { "type": "object", "required": [ "moveCallRequestParams" ], "properties": { "moveCallRequestParams": { "$ref": "#/components/schemas/MoveCallParams" } }, "additionalProperties": false } ] }, "RawData": { "oneOf": [ { "type": "object", "required": [ "bcsBytes", "dataType", "type", "version" ], "properties": { "bcsBytes": { "$ref": "#/components/schemas/Base64" }, "dataType": { "type": "string", "enum": [ "moveObject" ] }, "type": { "$ref": "#/components/schemas/StructTag" }, "version": { "$ref": "#/components/schemas/SequenceNumberU64" } } }, { "type": "object", "required": [ "dataType", "id", "linkageTable", "moduleMap", "typeOriginTable", "version" ], "properties": { "dataType": { "type": "string", "enum": [ "package" ] }, "id": { "$ref": "#/components/schemas/ObjectID" }, "linkageTable": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/UpgradeInfo" } }, "moduleMap": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/Base64" } }, "typeOriginTable": { "type": "array", "items": { "$ref": "#/components/schemas/TypeOrigin" } }, "version": { "$ref": "#/components/schemas/SequenceNumberU64" } } } ] }, "SequenceNumberString": { "description": "Sequence number as a string", "type": "string" }, "SequenceNumberU64": { "description": "Sequence number as a u64 integer", "type": "integer", "format": "uint64", "minimum": 0.0 }, "Stake": { "type": "object", "oneOf": [ { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string", "enum": [ "Pending" ] } } }, { "type": "object", "required": [ "estimatedReward", "status" ], "properties": { "estimatedReward": { "type": "string" }, "status": { "type": "string", "enum": [ "Active" ] } } }, { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string", "enum": [ "Unstaked" ] } } } ], "required": [ "principal", "stakeActiveEpoch", "stakeRequestEpoch", "stakedIotaId" ], "properties": { "principal": { "type": "string" }, "stakeActiveEpoch": { "type": "string" }, "stakeRequestEpoch": { "type": "string" }, "stakedIotaId": { "description": "ID of the StakedIota receipt object.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] } } }, "StructTag": { "description": "Move struct tag, in the format 'address::module::name'", "type": "string" }, "Supply": { "type": "object", "required": [ "value" ], "properties": { "value": { "type": "string" } } }, "TimelockedStake": { "type": "object", "oneOf": [ { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string", "enum": [ "Pending" ] } } }, { "type": "object", "required": [ "estimatedReward", "status" ], "properties": { "estimatedReward": { "type": "string" }, "status": { "type": "string", "enum": [ "Active" ] } } }, { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string", "enum": [ "Unstaked" ] } } } ], "required": [ "expirationTimestampMs", "principal", "stakeActiveEpoch", "stakeRequestEpoch", "timelockedStakedIotaId" ], "properties": { "expirationTimestampMs": { "type": "string" }, "label": { "type": [ "string", "null" ] }, "principal": { "type": "string" }, "stakeActiveEpoch": { "type": "string" }, "stakeRequestEpoch": { "type": "string" }, "timelockedStakedIotaId": { "$ref": "#/components/schemas/ObjectID" } } }, "TransactionBlock": { "type": "object", "required": [ "data", "txSignatures" ], "properties": { "data": { "$ref": "#/components/schemas/TransactionBlockData" }, "txSignatures": { "type": "array", "items": { "$ref": "#/components/schemas/GenericSignature" } } } }, "TransactionBlockBytes": { "type": "object", "required": [ "gas", "inputObjects", "txBytes" ], "properties": { "gas": { "description": "the gas objects to be used", "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } }, "inputObjects": { "description": "objects to be used in this transaction", "type": "array", "items": { "$ref": "#/components/schemas/InputObjectKind" } }, "txBytes": { "description": "BCS serialized transaction data bytes without its type tag, as base-64 encoded string.", "allOf": [ { "$ref": "#/components/schemas/Base64" } ] } } }, "TransactionBlockData": { "oneOf": [ { "type": "object", "required": [ "gasData", "messageVersion", "sender", "transaction" ], "properties": { "gasData": { "$ref": "#/components/schemas/GasData" }, "messageVersion": { "type": "string", "enum": [ "v1" ] }, "sender": { "$ref": "#/components/schemas/IotaAddress" }, "transaction": { "$ref": "#/components/schemas/TransactionBlockKind" } } } ] }, "TransactionBlockEffects": { "oneOf": [ { "description": "The response from processing a transaction or a certified transaction", "type": "object", "required": [ "executedEpoch", "gasObject", "gasUsed", "messageVersion", "status", "transactionDigest" ], "properties": { "created": { "description": "ObjectRef and owner of new objects created.", "type": "array", "items": { "$ref": "#/components/schemas/OwnedObjectRef" } }, "deleted": { "description": "Object Refs of objects now deleted (the old refs).", "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } }, "dependencies": { "description": "The set of transaction digests this transaction depends on.", "type": "array", "items": { "$ref": "#/components/schemas/Base58" } }, "eventsDigest": { "description": "The digest of the events emitted during execution, can be None if the transaction does not emit any event.", "anyOf": [ { "$ref": "#/components/schemas/Base58" }, { "type": "null" } ] }, "executedEpoch": { "description": "The epoch when this transaction was executed.", "type": "string" }, "gasObject": { "description": "The updated gas object reference. Have a dedicated field for convenient access. It's also included in mutated.", "allOf": [ { "$ref": "#/components/schemas/OwnedObjectRef" } ] }, "gasUsed": { "$ref": "#/components/schemas/GasCostSummary" }, "messageVersion": { "type": "string", "enum": [ "v1" ] }, "modifiedAtVersions": { "description": "The version that every modified (mutated or deleted) object had before it was modified by this transaction.", "type": "array", "items": { "$ref": "#/components/schemas/TransactionBlockEffectsModifiedAtVersions" } }, "mutated": { "description": "ObjectRef and owner of mutated objects, including gas object.", "type": "array", "items": { "$ref": "#/components/schemas/OwnedObjectRef" } }, "sharedObjects": { "description": "The object references of the shared objects used in this transaction. Empty if no shared objects were used.", "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } }, "status": { "description": "The status of the execution", "allOf": [ { "$ref": "#/components/schemas/ExecutionStatus" } ] }, "transactionDigest": { "description": "The transaction digest", "allOf": [ { "$ref": "#/components/schemas/Base58" } ] }, "unwrapped": { "description": "ObjectRef and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects that were wrapped into other objects in the past, and just got extracted out.", "type": "array", "items": { "$ref": "#/components/schemas/OwnedObjectRef" } }, "unwrappedThenDeleted": { "description": "Object refs of objects previously wrapped in other objects but now deleted.", "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } }, "wrapped": { "description": "Object refs of objects now wrapped in other objects.", "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } } } } ] }, "TransactionBlockEffectsModifiedAtVersions": { "type": "object", "required": [ "objectId", "sequenceNumber" ], "properties": { "objectId": { "$ref": "#/components/schemas/ObjectID" }, "sequenceNumber": { "$ref": "#/components/schemas/SequenceNumberString" } } }, "TransactionBlockKind": { "oneOf": [ { "description": "A system transaction used for initializing the initial state of the chain.", "type": "object", "required": [ "events", "kind", "objects" ], "properties": { "events": { "type": "array", "items": { "$ref": "#/components/schemas/EventID" } }, "kind": { "type": "string", "enum": [ "Genesis" ] }, "objects": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectID" } } } }, { "description": "A system transaction marking the start of a series of transactions scheduled as part of a checkpoint", "type": "object", "required": [ "commit_timestamp_ms", "consensus_commit_digest", "consensus_determined_version_assignments", "epoch", "kind", "round" ], "properties": { "commit_timestamp_ms": { "type": "string" }, "consensus_commit_digest": { "$ref": "#/components/schemas/Base58" }, "consensus_determined_version_assignments": { "$ref": "#/components/schemas/ConsensusDeterminedVersionAssignments" }, "epoch": { "type": "string" }, "kind": { "type": "string", "enum": [ "ConsensusCommitPrologueV1" ] }, "round": { "type": "string" }, "sub_dag_index": { "default": null, "type": [ "string", "null" ] } } }, { "description": "A series of transactions where the results of one transaction can be used in future transactions", "type": "object", "required": [ "inputs", "kind", "transactions" ], "properties": { "inputs": { "description": "Input objects or primitive values", "type": "array", "items": { "$ref": "#/components/schemas/IotaCallArg" } }, "kind": { "type": "string", "enum": [ "ProgrammableTransaction" ] }, "transactions": { "description": "The transactions to be executed sequentially. A failure in any transaction will result in the failure of the entire programmable transaction block.", "type": "array", "items": { "$ref": "#/components/schemas/IotaTransaction" } } } }, { "description": "A transaction which updates global randomness state", "type": "object", "required": [ "epoch", "kind", "random_bytes", "randomness_round" ], "properties": { "epoch": { "type": "string" }, "kind": { "type": "string", "enum": [ "RandomnessStateUpdate" ] }, "random_bytes": { "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, "randomness_round": { "type": "string" } } }, { "description": "The transaction which occurs only at the end of the epoch", "type": "object", "required": [ "kind", "transactions" ], "properties": { "kind": { "type": "string", "enum": [ "EndOfEpochTransaction" ] }, "transactions": { "type": "array", "items": { "$ref": "#/components/schemas/IotaEndOfEpochTransactionKind" } } } } ] }, "TransactionBlockResponse": { "type": "object", "required": [ "digest" ], "properties": { "balanceChanges": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/BalanceChange" } }, "checkpoint": { "description": "The checkpoint number when this transaction was included and hence finalized. This is only returned in the read api, not in the transaction execution api.", "type": [ "string", "null" ] }, "confirmedLocalExecution": { "type": [ "boolean", "null" ] }, "digest": { "$ref": "#/components/schemas/Base58" }, "effects": { "anyOf": [ { "$ref": "#/components/schemas/TransactionBlockEffects" }, { "type": "null" } ] }, "errors": { "type": "array", "items": { "type": "string" } }, "events": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/Event" } }, "objectChanges": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/ObjectChange" } }, "rawEffects": { "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, "rawTransaction": { "description": "BCS encoded [SenderSignedData] that includes input object references returns empty array if `show_raw_transaction` is false", "allOf": [ { "$ref": "#/components/schemas/Base64" } ] }, "timestampMs": { "type": [ "string", "null" ] }, "transaction": { "description": "Transaction input data", "anyOf": [ { "$ref": "#/components/schemas/TransactionBlock" }, { "type": "null" } ] } } }, "TransactionBlockResponseOptions": { "type": "object", "properties": { "showBalanceChanges": { "description": "Whether to show balance_changes. Default to be False", "default": false, "type": "boolean" }, "showEffects": { "description": "Whether to show transaction effects. Default to be False", "default": false, "type": "boolean" }, "showEvents": { "description": "Whether to show transaction events. Default to be False", "default": false, "type": "boolean" }, "showInput": { "description": "Whether to show transaction input data. Default to be False", "default": false, "type": "boolean" }, "showObjectChanges": { "description": "Whether to show object_changes. Default to be False", "default": false, "type": "boolean" }, "showRawEffects": { "description": "Whether to show raw transaction effects. Default to be False", "default": false, "type": "boolean" }, "showRawInput": { "description": "Whether to show bcs-encoded transaction input data", "default": false, "type": "boolean" } } }, "TransactionBlockResponseQuery": { "type": "object", "properties": { "filter": { "description": "If None, no filter will be applied", "default": null, "anyOf": [ { "$ref": "#/components/schemas/TransactionFilterV2" }, { "type": "null" } ] }, "options": { "description": "config which fields to include in the response, by default only digest is included", "default": null, "anyOf": [ { "$ref": "#/components/schemas/TransactionBlockResponseOptions" }, { "type": "null" } ] } } }, "TransactionFilter": { "oneOf": [ { "description": "Query by checkpoint.", "type": "object", "required": [ "Checkpoint" ], "properties": { "Checkpoint": { "type": "string" } }, "additionalProperties": false }, { "description": "Query by move function.", "type": "object", "required": [ "MoveFunction" ], "properties": { "MoveFunction": { "type": "object", "required": [ "package" ], "properties": { "function": { "type": [ "string", "null" ] }, "module": { "type": [ "string", "null" ] }, "package": { "$ref": "#/components/schemas/ObjectID" } } } }, "additionalProperties": false }, { "description": "Query by input object.", "type": "object", "required": [ "InputObject" ], "properties": { "InputObject": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Query by changed object, including created, mutated and unwrapped objects.", "type": "object", "required": [ "ChangedObject" ], "properties": { "ChangedObject": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Query by sender address.", "type": "object", "required": [ "FromAddress" ], "properties": { "FromAddress": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Query by recipient address.", "type": "object", "required": [ "ToAddress" ], "properties": { "ToAddress": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Query by sender and recipient address.", "type": "object", "required": [ "FromAndToAddress" ], "properties": { "FromAndToAddress": { "type": "object", "required": [ "from", "to" ], "properties": { "from": { "$ref": "#/components/schemas/IotaAddress" }, "to": { "$ref": "#/components/schemas/IotaAddress" } } } }, "additionalProperties": false }, { "description": "Query txs that have a given address as sender or recipient.", "type": "object", "required": [ "FromOrToAddress" ], "properties": { "FromOrToAddress": { "type": "object", "required": [ "addr" ], "properties": { "addr": { "$ref": "#/components/schemas/IotaAddress" } } } }, "additionalProperties": false }, { "description": "Query by transaction kind", "type": "object", "required": [ "TransactionKind" ], "properties": { "TransactionKind": { "$ref": "#/components/schemas/IotaTransactionKind" } }, "additionalProperties": false }, { "description": "Query transactions of any given kind in the input.", "type": "object", "required": [ "TransactionKindIn" ], "properties": { "TransactionKindIn": { "type": "array", "items": { "$ref": "#/components/schemas/IotaTransactionKind" } } }, "additionalProperties": false } ] }, "TransactionFilterV2": { "oneOf": [ { "description": "Query by checkpoint.", "type": "object", "required": [ "Checkpoint" ], "properties": { "Checkpoint": { "type": "string" } }, "additionalProperties": false }, { "description": "Query by move function.", "type": "object", "required": [ "MoveFunction" ], "properties": { "MoveFunction": { "type": "object", "required": [ "package" ], "properties": { "function": { "type": [ "string", "null" ] }, "module": { "type": [ "string", "null" ] }, "package": { "$ref": "#/components/schemas/ObjectID" } } } }, "additionalProperties": false }, { "description": "Query by input object.", "type": "object", "required": [ "InputObject" ], "properties": { "InputObject": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Query by changed object, including created, mutated and unwrapped objects.", "type": "object", "required": [ "ChangedObject" ], "properties": { "ChangedObject": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Query transactions that wrapped or deleted the specified object. Includes transactions that either created and immediately wrapped the object or unwrapped and immediately deleted it.", "type": "object", "required": [ "WrappedOrDeletedObject" ], "properties": { "WrappedOrDeletedObject": { "$ref": "#/components/schemas/ObjectID" } }, "additionalProperties": false }, { "description": "Query by sender address.", "type": "object", "required": [ "FromAddress" ], "properties": { "FromAddress": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Query by recipient address.", "type": "object", "required": [ "ToAddress" ], "properties": { "ToAddress": { "$ref": "#/components/schemas/IotaAddress" } }, "additionalProperties": false }, { "description": "Query by sender and recipient address.", "type": "object", "required": [ "FromAndToAddress" ], "properties": { "FromAndToAddress": { "type": "object", "required": [ "from", "to" ], "properties": { "from": { "$ref": "#/components/schemas/IotaAddress" }, "to": { "$ref": "#/components/schemas/IotaAddress" } } } }, "additionalProperties": false }, { "description": "Query txs that have a given address as sender or recipient.", "type": "object", "required": [ "FromOrToAddress" ], "properties": { "FromOrToAddress": { "type": "object", "required": [ "addr" ], "properties": { "addr": { "$ref": "#/components/schemas/IotaAddress" } } } }, "additionalProperties": false }, { "description": "Query by transaction kind", "type": "object", "required": [ "TransactionKind" ], "properties": { "TransactionKind": { "$ref": "#/components/schemas/IotaTransactionKind" } }, "additionalProperties": false }, { "description": "Query transactions of any given kind in the input.", "type": "object", "required": [ "TransactionKindIn" ], "properties": { "TransactionKindIn": { "type": "array", "items": { "$ref": "#/components/schemas/IotaTransactionKind" } } }, "additionalProperties": false } ] }, "TransferObjectParams": { "type": "object", "required": [ "objectId", "recipient" ], "properties": { "objectId": { "$ref": "#/components/schemas/ObjectID" }, "recipient": { "$ref": "#/components/schemas/IotaAddress" } } }, "TypeOrigin": { "description": "Store the origin of a data type where it first appeared in the version chain.\n\nA data type is identified by the name of the module and the name of the struct/enum in combination.\n\n# Undefined behavior\n\nDirectly modifying any field is undefined behavior. The fields are only public for read-only access.", "type": "object", "required": [ "datatype_name", "module_name", "package" ], "properties": { "datatype_name": { "description": "The name of the data type.\n\nHere this either refers to an enum or a struct identifier.", "allOf": [ { "$ref": "#/components/schemas/Identifier" } ] }, "module_name": { "description": "The name of the module the data type resides in.", "allOf": [ { "$ref": "#/components/schemas/Identifier" } ] }, "package": { "description": "`Storage ID` of the package, where the given type first appeared.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] } } }, "TypeTag": { "description": "Move type tag as a string", "type": "string" }, "UpgradeInfo": { "description": "Value for the [MovePackage]'s linkage_table.\n\n# Undefined behavior\n\nDirectly modifying any field is undefined behavior. The fields are only public for read-only access.", "type": "object", "required": [ "upgraded_id", "upgraded_version" ], "properties": { "upgraded_id": { "description": "`Storage ID`/`Package ID` of the referred package.", "allOf": [ { "$ref": "#/components/schemas/ObjectID" } ] }, "upgraded_version": { "description": "The version of the package at `upgraded_id`.", "allOf": [ { "$ref": "#/components/schemas/SequenceNumberU64" } ] } } }, "ValidatorApy": { "type": "object", "required": [ "address", "apy" ], "properties": { "address": { "$ref": "#/components/schemas/IotaAddress" }, "apy": { "type": "number", "format": "double" } } }, "ValidatorApys": { "type": "object", "required": [ "apys", "epoch" ], "properties": { "apys": { "type": "array", "items": { "$ref": "#/components/schemas/ValidatorApy" } }, "epoch": { "type": "string" } } } } } }