post https://api.infstones.com/sui/mainnet/
Read API
Return 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
Parameters
Key | Required | Type | Detail |
---|---|---|---|
digests | ✅ | List of TransactionDigest | A list of transaction digests. |
options | ✅ | TransactionBlockResponseOptions | config options to control which fields to fetch |
"params": [
[
"6SCsTvE8YKFQdrYW9CSYn1weY96o1P3yXyTwgC4n6z9h",
"8ddezJ4eChwY8X1ZiBNVRzxeRat6kTpNKAwcgKfaDH3u"
],
{
"showInput": true,
"showRawInput": false,
"showEffects": true,
"showEvents": true,
"showObjectChanges": false,
"showBalanceChanges": false
}
]
Result
Vec<SuiTransactionBlockResponse> : <[SuiTransactionBlockResponse]>
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_multiGetTransactionBlocks",
"params": [
[
"6SCsTvE8YKFQdrYW9CSYn1weY96o1P3yXyTwgC4n6z9h",
"8ddezJ4eChwY8X1ZiBNVRzxeRat6kTpNKAwcgKfaDH3u"
],
{
"showInput": true,
"showRawInput": false,
"showEffects": true,
"showEvents": true,
"showObjectChanges": false,
"showBalanceChanges": false
}
]
}
'
Response
{
"jsonrpc": "2.0",
"result": [
{
"digest": "6SCsTvE8YKFQdrYW9CSYn1weY96o1P3yXyTwgC4n6z9h",
"transaction": {
"data": {
"messageVersion": "v1",
"transaction": {
"kind": "ProgrammableTransaction",
"inputs": [
{
"type": "pure",
"valueType": "u64",
"value": "300000000000"
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"initialSharedVersion": "2318772",
"mutable": true
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x02b8d23f033687579966e182c776fe0287cacdbb18bff56c29f141e29a18a4d1",
"initialSharedVersion": "1966901",
"mutable": false
},
{
"type": "pure",
"valueType": "u64",
"value": "300000000000"
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x0000000000000000000000000000000000000000000000000000000000000006",
"initialSharedVersion": "1",
"mutable": false
}
],
"transactions": [
{
"SplitCoins": [
"GasCoin",
[
{
"Input": 0
}
]
]
},
{
"MakeMoveVec": [
null,
[
{
"Result": 0
}
]
]
},
{
"MoveCall": {
"package": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4",
"module": "router",
"function": "create_and_purchase",
"type_arguments": [
"0x1d58e26e85fbf9ee8596872686da75544342487f95b1773be3c9a49ab1061b19::suia_token::SUIA_TOKEN",
"0x2::sui::SUI"
],
"arguments": [
{
"Input": 1
},
{
"Input": 2
},
{
"Result": 1
},
{
"Input": 3
},
{
"Input": 4
}
]
}
}
]
},
"sender": "0x252ea2197d21bd34464dd5bc8adbf967eac358e6758228c2c0bf6406147357a7",
"gasData": {
"payment": [
{
"objectId": "0x601fe35f7983402f175df854bc580fd2adae98c045eb79a6c3bce69caa9b6dd0",
"version": 8777,
"digest": "FgQpsUSi72LBrFv8ALPrTnRCMBtAxogtV4yTnYVFYHpo"
}
],
"owner": "0x252ea2197d21bd34464dd5bc8adbf967eac358e6758228c2c0bf6406147357a7",
"price": "930",
"budget": "20000000"
}
},
"txSignatures": [
"AFTBa012QAONEeIj5TfCZH0Jx0e6au7A8RiVf2inbrDqlv3G8q4lZ1W7rGGLo7WgzIO/Nek3Q8AkOTgnk/Q0ogRVyau3R/vRV7xbnOreYFKgyd4tyujXXPy3Hk/1bvZNtA=="
]
},
"effects": {
"messageVersion": "v1",
"status": {
"status": "success"
},
"executedEpoch": "32",
"gasUsed": {
"computationCost": "930000",
"storageCost": "10997200",
"storageRebate": "7531524",
"nonRefundableStorageFee": "76076"
},
"modifiedAtVersions": [
{
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"sequenceNumber": "2544630"
},
{
"objectId": "0x601fe35f7983402f175df854bc580fd2adae98c045eb79a6c3bce69caa9b6dd0",
"sequenceNumber": "8777"
},
{
"objectId": "0xf3a41c4e6186240a7ebb0cd9674af791c9c9febdcef40d0fac4264a500f43691",
"sequenceNumber": "2529513"
}
],
"sharedObjects": [
{
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"version": 2544630,
"digest": "hhtLJu7W8Uxdx39ghXnMg2M2GQxetNNWgpAEuPZ6MFP"
},
{
"objectId": "0x02b8d23f033687579966e182c776fe0287cacdbb18bff56c29f141e29a18a4d1",
"version": 1966901,
"digest": "FqQt9huW4Bee5aFSUX344xDtwFBBNomERNaEkBj2fsJ3"
},
{
"objectId": "0x0000000000000000000000000000000000000000000000000000000000000006",
"version": 2544633,
"digest": "AV5d9kPRRuRHSTxZw9i8Xnf4gsQGJfn64iEeDceQ7d6Y"
}
],
"transactionDigest": "6SCsTvE8YKFQdrYW9CSYn1weY96o1P3yXyTwgC4n6z9h",
"created": [
{
"owner": {
"AddressOwner": "0x252ea2197d21bd34464dd5bc8adbf967eac358e6758228c2c0bf6406147357a7"
},
"reference": {
"objectId": "0x41cb4d080e5079c37050733135ad6b8e120edf025232646fb112124abbc02e31",
"version": 2544634,
"digest": "FDTArAHsRiwhYD2GRemKjWBem1SKSkkqDwYP1yBfNYJY"
}
},
{
"owner": {
"ObjectOwner": "0xe8f28831fc69e665a0c6257e5a2784e8f3637f36e0d933dd83a472261ee5d25b"
},
"reference": {
"objectId": "0x70ae359195dbbb1425e2406388ad45d29af12d744894555a8636bcf33c8e166b",
"version": 2544634,
"digest": "7bzqFPTgAx2o5jQht86hVda24qsMDLTCWDR9LGh4wmFE"
}
}
],
"mutated": [
{
"owner": {
"Shared": {
"initial_shared_version": 2318772
}
},
"reference": {
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"version": 2544634,
"digest": "3W8TxjShVe1jZxsWGkXhdBQ1x4TBQXv56rSR28bj8WKt"
}
},
{
"owner": {
"AddressOwner": "0x252ea2197d21bd34464dd5bc8adbf967eac358e6758228c2c0bf6406147357a7"
},
"reference": {
"objectId": "0x601fe35f7983402f175df854bc580fd2adae98c045eb79a6c3bce69caa9b6dd0",
"version": 2544634,
"digest": "6BXWFjtDNRppqeRTVdGapaLzqj1E3iYajsfBtzaEtE1R"
}
},
{
"owner": {
"ObjectOwner": "0x2de1c6284015360d8b588741e0b98bac8b1697ff4255214e01e4c882f989a37a"
},
"reference": {
"objectId": "0xf3a41c4e6186240a7ebb0cd9674af791c9c9febdcef40d0fac4264a500f43691",
"version": 2544634,
"digest": "D1tAjWthCXaxAQBsxGBENGaxorGzRQWjVjEB9A9sTQUt"
}
}
],
"gasObject": {
"owner": {
"AddressOwner": "0x252ea2197d21bd34464dd5bc8adbf967eac358e6758228c2c0bf6406147357a7"
},
"reference": {
"objectId": "0x601fe35f7983402f175df854bc580fd2adae98c045eb79a6c3bce69caa9b6dd0",
"version": 2544634,
"digest": "6BXWFjtDNRppqeRTVdGapaLzqj1E3iYajsfBtzaEtE1R"
}
},
"eventsDigest": "C1yyptioHvA4qFh5g4sJJvr37dVbFkSGaGej4RFEGEpb",
"dependencies": [
"81nRpfM6u94HyTvJKZyWV2PTAeQLrsrFzfTH4zvBvyh",
"2djCcCtHu6VnfBA8vzzi4PrJ1S2DKxntWiDyfDZbNT9A",
"8ddezJ4eChwY8X1ZiBNVRzxeRat6kTpNKAwcgKfaDH3u",
"FwLbgj5ETADwHSemF4czmsVZ6Sgahiq7Ak62wRJnnSfp",
"G2BmYQJgCQ5s5z2cQNrJZeom3jwAxtPPALXNGjTdbvmG",
"HzRTGc8KzEGSjm7TAVb2DWe2eT5ZHcdFSjW1jWNxhBRr"
]
},
"events": [
{
"id": {
"txDigest": "6SCsTvE8YKFQdrYW9CSYn1weY96o1P3yXyTwgC4n6z9h",
"eventSeq": "0"
},
"packageId": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4",
"transactionModule": "router",
"sender": "0x252ea2197d21bd34464dd5bc8adbf967eac358e6758228c2c0bf6406147357a7",
"type": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4::pool::PurchaseEvent",
"parsedJson": {
"amount": "300000000000",
"pool_id": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185"
},
"bcs": "3JYxFDrJ5T8ws9QQGu9FyFS655KZq7PkbPecofUNbqpTMrpjYSJ1es9"
}
],
"timestampMs": "1684140597663",
"checkpoint": "2544632"
},
{
"digest": "8ddezJ4eChwY8X1ZiBNVRzxeRat6kTpNKAwcgKfaDH3u",
"transaction": {
"data": {
"messageVersion": "v1",
"transaction": {
"kind": "ProgrammableTransaction",
"inputs": [
{
"type": "pure",
"valueType": "u64",
"value": "902589839506"
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"initialSharedVersion": "2318772",
"mutable": true
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x02b8d23f033687579966e182c776fe0287cacdbb18bff56c29f141e29a18a4d1",
"initialSharedVersion": "1966901",
"mutable": false
},
{
"type": "pure",
"valueType": "u64",
"value": "902589839506"
},
{
"type": "object",
"objectType": "sharedObject",
"objectId": "0x0000000000000000000000000000000000000000000000000000000000000006",
"initialSharedVersion": "1",
"mutable": false
}
],
"transactions": [
{
"SplitCoins": [
"GasCoin",
[
{
"Input": 0
}
]
]
},
{
"MakeMoveVec": [
null,
[
{
"Result": 0
}
]
]
},
{
"MoveCall": {
"package": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4",
"module": "router",
"function": "create_and_purchase",
"type_arguments": [
"0x1d58e26e85fbf9ee8596872686da75544342487f95b1773be3c9a49ab1061b19::suia_token::SUIA_TOKEN",
"0x2::sui::SUI"
],
"arguments": [
{
"Input": 1
},
{
"Input": 2
},
{
"Result": 1
},
{
"Input": 3
},
{
"Input": 4
}
]
}
}
]
},
"sender": "0xe61858fb2460e9ac985704953db0ab2e116d2f6d81206c36d7a644b9ad0b264a",
"gasData": {
"payment": [
{
"objectId": "0x16ff79745f730bbf9d88e632c4069d215dcf6e51eb7145dfca5e1a9914b8f6d9",
"version": 2485253,
"digest": "6KoJW3XQAWKvMp2FZaD5X6JsBkFcqML52eEm3Adpk71M"
},
{
"objectId": "0x22f1b7bb656b9cfdba2e94a6d66a54d085e8e0d17fa3adec36ceeefd4682f543",
"version": 2243804,
"digest": "A1ZvSVjf7fVgJQd9pGf9Uqd8Zz49QhvgMi5LAJBHg2tg"
}
],
"owner": "0xe61858fb2460e9ac985704953db0ab2e116d2f6d81206c36d7a644b9ad0b264a",
"price": "930",
"budget": "20000000"
}
},
"txSignatures": [
"APJslGpWckzuY9EKuDo828PljPN5db9aR3ftjeeMGgcBj4+aPh17PamuDZi2OZifqptuYWmpbl40PwkrYeh+bwOSxWiPu80VzPt1nv59dVH7Gc6ZVo9R++6ZurMqL1rpCA=="
]
},
"effects": {
"messageVersion": "v1",
"status": {
"status": "success"
},
"executedEpoch": "32",
"gasUsed": {
"computationCost": "930000",
"storageCost": "8854000",
"storageRebate": "6387876",
"nonRefundableStorageFee": "64524"
},
"modifiedAtVersions": [
{
"objectId": "0x16ff79745f730bbf9d88e632c4069d215dcf6e51eb7145dfca5e1a9914b8f6d9",
"sequenceNumber": "2485253"
},
{
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"sequenceNumber": "2544624"
},
{
"objectId": "0x22f1b7bb656b9cfdba2e94a6d66a54d085e8e0d17fa3adec36ceeefd4682f543",
"sequenceNumber": "2243804"
}
],
"sharedObjects": [
{
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"version": 2544624,
"digest": "4kT7HNDJCkwpP8VZPwADai2WXXCFn4skNMVDg8WL4ZH6"
},
{
"objectId": "0x02b8d23f033687579966e182c776fe0287cacdbb18bff56c29f141e29a18a4d1",
"version": 1966901,
"digest": "FqQt9huW4Bee5aFSUX344xDtwFBBNomERNaEkBj2fsJ3"
},
{
"objectId": "0x0000000000000000000000000000000000000000000000000000000000000006",
"version": 2544629,
"digest": "5vdyWzdQEXwd99KMM9TJThUf4QdK3iGewxJgkpz51qFF"
}
],
"transactionDigest": "8ddezJ4eChwY8X1ZiBNVRzxeRat6kTpNKAwcgKfaDH3u",
"created": [
{
"owner": {
"AddressOwner": "0xe61858fb2460e9ac985704953db0ab2e116d2f6d81206c36d7a644b9ad0b264a"
},
"reference": {
"objectId": "0x0599979807763892661b90b7dd2f9439986d8aeee387fc9d7ecb73e8ca4d09b2",
"version": 2544630,
"digest": "9xNeHWyWKAci7YNoZxA7UDU5FNfvTADPchy4bHMDd55N"
}
},
{
"owner": {
"ObjectOwner": "0xe8f28831fc69e665a0c6257e5a2784e8f3637f36e0d933dd83a472261ee5d25b"
},
"reference": {
"objectId": "0x18177a848ba58f048c06499280e9036cd770ed264e6ab0e5693ac69d83ed0f58",
"version": 2544630,
"digest": "7NgZ8DSPdLRdqDui8AvEUUFdcjqwJUUNWhEUgfMt9bV1"
}
}
],
"mutated": [
{
"owner": {
"AddressOwner": "0xe61858fb2460e9ac985704953db0ab2e116d2f6d81206c36d7a644b9ad0b264a"
},
"reference": {
"objectId": "0x16ff79745f730bbf9d88e632c4069d215dcf6e51eb7145dfca5e1a9914b8f6d9",
"version": 2544630,
"digest": "BAnVFueootKXWxuL6FM6vMuVVeHPQKss9a6YXrSmDM4M"
}
},
{
"owner": {
"Shared": {
"initial_shared_version": 2318772
}
},
"reference": {
"objectId": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185",
"version": 2544630,
"digest": "hhtLJu7W8Uxdx39ghXnMg2M2GQxetNNWgpAEuPZ6MFP"
}
}
],
"deleted": [
{
"objectId": "0x22f1b7bb656b9cfdba2e94a6d66a54d085e8e0d17fa3adec36ceeefd4682f543",
"version": 2544630,
"digest": "7gyGAp71YXQRoxmFBaHxofQXAipvgHyBKPyxmdSJxyvz"
}
],
"gasObject": {
"owner": {
"AddressOwner": "0xe61858fb2460e9ac985704953db0ab2e116d2f6d81206c36d7a644b9ad0b264a"
},
"reference": {
"objectId": "0x16ff79745f730bbf9d88e632c4069d215dcf6e51eb7145dfca5e1a9914b8f6d9",
"version": 2544630,
"digest": "BAnVFueootKXWxuL6FM6vMuVVeHPQKss9a6YXrSmDM4M"
}
},
"eventsDigest": "Asnh9WELXK7gngyNu6xBXqWEFarmVia1KsZCcP8mfeYr",
"dependencies": [
"81nRpfM6u94HyTvJKZyWV2PTAeQLrsrFzfTH4zvBvyh",
"5ow3Wc7C4JLCCSRizgpNrsgqtrMubaQSK7r77QP1ppPy",
"73nto6Pbinu8QfXoWv9RyMzLxLPDy8i9PNPGCj1pAZCQ",
"DPb6AXKxR7AJndHzzbTC2o4ok5eHUqKUyu1CXvnnZYa9",
"DtwJ6URK2F7ZKzYcoSMh3FaXDZAMfNcX1jNFRwEezKiA",
"FwLbgj5ETADwHSemF4czmsVZ6Sgahiq7Ak62wRJnnSfp",
"HzRTGc8KzEGSjm7TAVb2DWe2eT5ZHcdFSjW1jWNxhBRr"
]
},
"events": [
{
"id": {
"txDigest": "8ddezJ4eChwY8X1ZiBNVRzxeRat6kTpNKAwcgKfaDH3u",
"eventSeq": "0"
},
"packageId": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4",
"transactionModule": "router",
"sender": "0xe61858fb2460e9ac985704953db0ab2e116d2f6d81206c36d7a644b9ad0b264a",
"type": "0x80d114c5d474eabc2eb2fcd1a0903f1eb5b5096a8dc4184d72453f7a9be728e4::pool::PurchaseEvent",
"parsedJson": {
"amount": "902589839506",
"pool_id": "0x2e5778db3fc68f928cfb36f9d2a0f588a19753db20760312615d2ee52bfa4185"
},
"bcs": "3JYxFDrJ5T8ws9QQGu9FyFS655KZq7PkbPecofUNbqpTnKdwQGcowXV"
}
],
"timestampMs": "1684140593659",
"checkpoint": "2544628"
}
],
"id": 1
}