post https://api.infstones.com/sui/mainnet/
Read API
Return the transaction response object
Parameters
Key | Required | Type | Detail |
---|---|---|---|
digest | ✅ | TransactionDigest | the digest of the queried transaction |
options | ✅ | TransactionBlockResponseOptions | options for specifying the content to be returned |
"params": [
"GXBU5NkWX3HKbSA7D2aNS2HVndzvHzWy4iRL9R7Uf56E",
{
"showInput": true,
"showRawInput": false,
"showEffects": true,
"showEvents": true,
"showObjectChanges": false,
"showBalanceChanges": false
}
]
Result
SuiTransactionBlockResponse : <TransactionBlockResponse>
- return the transaction response object for specified transaction digest.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_getTransactionBlock",
"params": [
"GXBU5NkWX3HKbSA7D2aNS2HVndzvHzWy4iRL9R7Uf56E",
{
"showInput": true,
"showRawInput": false,
"showEffects": true,
"showEvents": true,
"showObjectChanges": false,
"showBalanceChanges": false
}
]
}
'
Response
{
"jsonrpc": "2.0",
"result": {
"digest": "GXBU5NkWX3HKbSA7D2aNS2HVndzvHzWy4iRL9R7Uf56E",
"transaction": {
"data": {
"messageVersion": "v1",
"transaction": {
"kind": "ProgrammableTransaction",
"inputs": [
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x8b3b1b25d0769ec4165c9d7cf6090375be6066c3b4b35cb472c7eb8f05b07a9c",
"initialSharedVersion": "1972462",
"mutable": true
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x02b8d23f033687579966e182c776fe0287cacdbb18bff56c29f141e29a18a4d1",
"initialSharedVersion": "1966901",
"mutable": false
},
{
"type": "object",
"objectType": "immOrOwnedObject",
"objectId": "0x65e030c56efedf13ca002f6bfcf6f2f557e6ae0ddc969ed418f15edc1bb05d82",
"version": "2060427",
"digest": "ArN6SfueFEQ7NUBTv3aXjQP48WTkP1QHFEMxTvaVPyv9"
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x0000000000000000000000000000000000000000000000000000000000000006",
"initialSharedVersion": "1",
"mutable": false
}
],
"transactions": [
{
"MoveCall": {
"package": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4",
"module": "router",
"function": "claim",
"type_arguments": [
"0x6864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS",
"0x2::sui::SUI"
],
"arguments": [
{
"Input": 0
},
{
"Input": 1
},
{
"Input": 2
},
{
"Input": 3
}
]
}
}
]
},
"sender": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd",
"gasData": {
"payment": [
{
"objectId": "0x40d856db2c2c43bc9d3efd0171dfc20e60ca239ccccacba650fd5cb89aee7517",
"version": 2060427,
"digest": "92td4Fx5rUTvy4e56JUT7D9xpF67Cta2EHc9YVuFD1Lk"
}
],
"owner": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd",
"price": "950",
"budget": "264000000"
}
},
"txSignatures": [
"ACoGAtQ7xNtg117nS1M/E2cqXtbn40ARjSb/S/DUJkhiooVlSIYFUVmKRRV9GQzMJQNlRefrpkHhO40UamO+WgB+3eRpYQg/r59VqGHenqSLbIEZKhlI7sv+MaWcsl+j9g=="
]
},
"effects": {
"messageVersion": "v1",
"status": {
"status": "success"
},
"executedEpoch": "27",
"gasUsed": {
"computationCost": "950000",
"storageCost": "9454400",
"storageRebate": "7057512",
"nonRefundableStorageFee": "71288"
},
"modifiedAtVersions": [
{
"objectId": "0x40d856db2c2c43bc9d3efd0171dfc20e60ca239ccccacba650fd5cb89aee7517",
"sequenceNumber": "2060427"
},
{
"objectId": "0x65e030c56efedf13ca002f6bfcf6f2f557e6ae0ddc969ed418f15edc1bb05d82",
"sequenceNumber": "2060427"
},
{
"objectId": "0x8b3b1b25d0769ec4165c9d7cf6090375be6066c3b4b35cb472c7eb8f05b07a9c",
"sequenceNumber": "2194056"
}
],
"sharedObjects": [
{
"objectId": "0x8b3b1b25d0769ec4165c9d7cf6090375be6066c3b4b35cb472c7eb8f05b07a9c",
"version": 2194056,
"digest": "DbdXuvHdfA8bAYWpy1r1Nx2gF81BJo1YHcEEfyJLpVh5"
},
{
"objectId": "0x02b8d23f033687579966e182c776fe0287cacdbb18bff56c29f141e29a18a4d1",
"version": 1966901,
"digest": "FqQt9huW4Bee5aFSUX344xDtwFBBNomERNaEkBj2fsJ3"
},
{
"objectId": "0x0000000000000000000000000000000000000000000000000000000000000006",
"version": 2144906,
"digest": "BYcc6iTxfvfD66D26YpRZktpjAYBdCQH5wDwBruhcgw7"
}
],
"transactionDigest": "GXBU5NkWX3HKbSA7D2aNS2HVndzvHzWy4iRL9R7Uf56E",
"created": [
{
"owner": {
"AddressOwner": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd"
},
"reference": {
"objectId": "0x902ad65649535690159dd23d1abdc6ee0edc3b593569e5e55bdc2717326010e9",
"version": 2194057,
"digest": "3MKxVWCCJ4PGErtfweT7vzgpRW61kDRdYdbovA8yrjLF"
}
},
{
"owner": {
"AddressOwner": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd"
},
"reference": {
"objectId": "0x903f6ca73ac7e6d37dfe7aa428e65f76a2f00ec2d86240c0dd12047f005f522d",
"version": 2194057,
"digest": "HLBjRzHrr55ThgWMJ66qL3JmtFzFoSh7GqPHsoG6wpgt"
}
}
],
"mutated": [
{
"owner": {
"AddressOwner": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd"
},
"reference": {
"objectId": "0x40d856db2c2c43bc9d3efd0171dfc20e60ca239ccccacba650fd5cb89aee7517",
"version": 2194057,
"digest": "4gtPvwdUgAR8iD3q4LdaXQX2X5CyR8hTCSJyLtUmBhLg"
}
},
{
"owner": {
"AddressOwner": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd"
},
"reference": {
"objectId": "0x65e030c56efedf13ca002f6bfcf6f2f557e6ae0ddc969ed418f15edc1bb05d82",
"version": 2194057,
"digest": "E83tcBQQ9zbn2HkDRwzKiQFP8L8ENPc76VKosjtHonM5"
}
},
{
"owner": {
"Shared": {
"initial_shared_version": 1972462
}
},
"reference": {
"objectId": "0x8b3b1b25d0769ec4165c9d7cf6090375be6066c3b4b35cb472c7eb8f05b07a9c",
"version": 2194057,
"digest": "35KZSNwqBoxrchshccfdbQyLxiWyowhN1Tf8HvLRWAdA"
}
}
],
"gasObject": {
"owner": {
"AddressOwner": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd"
},
"reference": {
"objectId": "0x40d856db2c2c43bc9d3efd0171dfc20e60ca239ccccacba650fd5cb89aee7517",
"version": 2194057,
"digest": "4gtPvwdUgAR8iD3q4LdaXQX2X5CyR8hTCSJyLtUmBhLg"
}
},
"eventsDigest": "2Wu8PBwZmVLxbgpHFzFQ3M4hYV9r6ywNwyJZKejmBvbP",
"dependencies": [
"2V55TzjcJeNA4E5K4iz3z2YLYvwRfJs9T989BvpAmLQ9",
"6am15E2sxzWw79jxoJ325CngUsACpidn4Vk7Jn34VMPJ",
"CjbwCA8SyNP56bPwMYAPuMGrhPZ6MdtKzwL5EngKnezn",
"CqKi5wdUgWsB3EPDzBtSRasS6hkKZ2TvurLGKVCjc1kC",
"FwLbgj5ETADwHSemF4czmsVZ6Sgahiq7Ak62wRJnnSfp",
"HzRTGc8KzEGSjm7TAVb2DWe2eT5ZHcdFSjW1jWNxhBRr"
]
},
"events": [
{
"id": {
"txDigest": "GXBU5NkWX3HKbSA7D2aNS2HVndzvHzWy4iRL9R7Uf56E",
"eventSeq": "0"
},
"packageId": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4",
"transactionModule": "router",
"sender": "0x4209f1995057b4add39b5688d7593a03d0ead3ac4b180f0e7f40f87f411876dd",
"type": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4::pool::ClaimEvent",
"parsedJson": {
"claim_amount": "80000000000",
"pool_id": "0x8b3b1b25d0769ec4165c9d7cf6090375be6066c3b4b35cb472c7eb8f05b07a9c",
"raise_amount": "0",
"sale_amount": "2000000000000"
},
"bcs": "4mhB1uXKYuW5AWHTmPXSx3npYMfT7vVZCmG7yVAbfP4BzDbEMH5rMwLAuDKQumXsLYLaxDyQ6ii63"
}
],
"timestampMs": "1683714210265",
"checkpoint": "2144905"
},
"id": 1
}