Links

Enjin Platform API Core Package

Introduction to the Platform Core API schema.
The following page explains a bit more about all queries and mutations available at the API core package and default responses from such interactions.

Enjin Platform Queries

GetBlocks

Get an array of blockchain blocks, optionally filtered by transaction IDs or hashes.
Query
Response
query GetBlocks {
GetBlocks(numbers: ["402865"]) {
totalCount
pageInfo {
startCursor
endCursor
hasPreviousPage
hasNextPage
}
edges {
cursor
node {
id
number
hash
synced
failed
exception
}
}
}
}
{
"data": {
"GetBlocks": {
"totalCount": 1,
"pageInfo": {
"startCursor": "",
"endCursor": "",
"hasPreviousPage": false,
"hasNextPage": false
},
"edges": [
{
"cursor": "eyJudW1iZXIiOjQwMjg2NSwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"id": 51507,
"number": 402865,
"hash": "0xf0b3cee1c36a99e24aaef7da06aec2ecd79a599c19ad4ae6fb4b40b3e497a322",
"synced": true,
"failed": false,
"exception": null
}
}
]
}
}
}

GetCollection

Get a single collection by its collection ID.
Query
Response
query GetCollection {
GetCollection(collectionId: 7153) {
collectionId
maxTokenCount
maxTokenSupply
forceSingleMint
frozen
network
owner {
account {
publicKey
address
}
}
attributes {
key
value
}
tokens {
edges {
cursor
node {
tokenId
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
accounts {
edges {
cursor
node {
accountCount
isFrozen
wallet {
account {
publicKey
address
}
}
approvals {
expiration
wallet {
account {
publicKey
address
}
}
}
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
}
{
"data": {
"GetCollection": {
"collectionId": "7153",
"maxTokenCount": 100,
"maxTokenSupply": "100",
"forceSingleMint": false,
"frozen": false,
"network": "canary",
"owner": {
"account": {
"publicKey": "0x68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160",
"address": "cxLnsZcpE1xETr7TQrMCCsRYpSfpHPUpJUFAfiZdZvU6Ccy4B"
}
},
"attributes": [],
"tokens": {
"edges": [
{
"cursor": "eyJpZCI6NzI3MiwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "10"
}
},
{
"cursor": "eyJpZCI6NzI3MywiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "6"
}
},
{
"cursor": "eyJpZCI6Mzk0MywiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "68"
}
},
{
"cursor": "eyJpZCI6Mzk1MywiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "70468841277235617716769448539773927607"
}
}
],
"totalCount": 4,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
}
},
"accounts": {
"edges": [
{
"cursor": "eyJpZCI6MTM0OCwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"accountCount": 2,
"isFrozen": false,
"wallet": {
"account": {
"publicKey": "0x68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160",
"address": "cxLnsZcpE1xETr7TQrMCCsRYpSfpHPUpJUFAfiZdZvU6Ccy4B"
}
},
"approvals": []
}
},
{
"cursor": "eyJpZCI6MjQ2MSwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"accountCount": 2,
"isFrozen": false,
"wallet": {
"account": {
"publicKey": "0x985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050",
"address": "cxMsNPRk7Ek5V76NC4o2HTBrnxcUnxLA9btuKPcuPkmYi84Ts"
}
},
"approvals": []
}
}
],
"totalCount": 2,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
}
}
}
}
}

GetCollections

Get an array of collections, optionally filtered by collection IDs.
Query
Response
query GetCollections {
GetCollections(collectionIds: [7153]) {
edges {
cursor
node {
collectionId
maxTokenCount
maxTokenSupply
forceSingleMint
frozen
network
owner {
account {
publicKey
address
}
}
attributes {
key
value
}
tokens {
edges {
cursor
node {
tokenId
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
accounts {
edges {
cursor
node {
accountCount
isFrozen
wallet {
account {
publicKey
address
}
}
approvals {
expiration
wallet {
account {
publicKey
address
}
}
}
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
totalCount
}
}
{
"data": {
"GetCollections": {
"edges": [
{
"cursor": "eyJjb2xsZWN0aW9uX2lkIjo3MTUzLCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9",
"node": {
"collectionId": "7153",
"maxTokenCount": 100,
"maxTokenSupply": "100",
"forceSingleMint": false,
"frozen": false,
"network": "canary",
"owner": {
"account": {
"publicKey": "0x68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160",
"address": "cxLnsZcpE1xETr7TQrMCCsRYpSfpHPUpJUFAfiZdZvU6Ccy4B"
}
},
"attributes": [],
"tokens": {
"edges": [
{
"cursor": "eyJpZCI6NzI3MiwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "10"
}
},
{
"cursor": "eyJpZCI6NzI3MywiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "6"
}
},
{
"cursor": "eyJpZCI6Mzk0MywiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "68"
}
},
{
"cursor": "eyJpZCI6Mzk1MywiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"tokenId": "70468841277235617716769448539773927607"
}
}
],
"totalCount": 4,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
}
},
"accounts": {
"edges": [
{
"cursor": "eyJpZCI6MTM0OCwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"accountCount": 2,
"isFrozen": false,
"wallet": {
"account": {
"publicKey": "0x68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160",
"address": "cxLnsZcpE1xETr7TQrMCCsRYpSfpHPUpJUFAfiZdZvU6Ccy4B"
}
},
"approvals": []
}
},
{
"cursor": "eyJpZCI6MjQ2MSwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"accountCount": 2,
"isFrozen": false,
"wallet": {
"account": {
"publicKey": "0x985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050",
"address": "cxMsNPRk7Ek5V76NC4o2HTBrnxcUnxLA9btuKPcuPkmYi84Ts"
}
},
"approvals": []
}
}
],
"totalCount": 2,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
}
}
}
}
],
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
},
"totalCount": 1
}
}
}

GetToken

Get a single token from a collection using its token ID.
Query
Response
query GetToken {
GetToken(
collectionId: 7153
tokenId: {integer:10}
) {
tokenId
supply
cap
capSupply
isFrozen
minimumBalance
unitPrice
mintDeposit
attributeCount
nonFungible
metadata
collection {
collectionId
}
attributes {
key
value
}
accounts {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
balance
reservedBalance
isFrozen
wallet {
account {
publicKey
address
}
}
approvals {
amount
expiration
wallet {
account {
publicKey
address
}
}
}
namedReserves {
pallet
amount
}
}
}
}
}
}
{
"data": {
"GetToken": {
"tokenId": "10",
"supply": "1",
"cap": "SINGLE_MINT",
"capSupply": null,
"isFrozen": false,
"minimumBalance": "1",
"unitPrice": "10000000000000000",
"mintDeposit": "20000000000000000",
"attributeCount": 0,
"nonFungible": true,
"metadata": null,
"collection": {
"collectionId": "7153"
},
"attributes": [],
"accounts": {
"totalCount": 1,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
},
"edges": [
{
"cursor": "eyJpZCI6NzgxOCwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"balance": "1",
"reservedBalance": "0",
"isFrozen": false,
"wallet": {
"account": {
"publicKey": "0x985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050",
"address": "cxMsNPRk7Ek5V76NC4o2HTBrnxcUnxLA9btuKPcuPkmYi84Ts"
}
},
"approvals": [],
"namedReserves": []
}
}
]
}
}
}
}

GetTokens

Get an array of tokens from a collection, optionally filtered by token IDs.
Query
Response
query GetTokens {
GetTokens(
collectionId: 7153
tokenIds: [{integer:10}]
) {
edges {
cursor
node {
tokenId
supply
cap
capSupply
isFrozen
minimumBalance
unitPrice
mintDeposit
attributeCount
collection {
collectionId
}
attributes {
key
value
}
accounts {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
balance
reservedBalance
isFrozen
wallet {
account {
publicKey
address
}
}
approvals {
amount
expiration
wallet {
account {
publicKey
address
}
}
}
namedReserves {
pallet
amount
}
}
}
}
nonFungible
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
{
"data": {
"GetTokens": {
"edges": [
{
"cursor": "eyJjb2xsZWN0aW9uX2lkIjo0OTk4LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9",
"node": {
"tokenId": "10",
"supply": "1",
"cap": "SINGLE_MINT",
"capSupply": null,
"isFrozen": false,
"minimumBalance": "1",
"unitPrice": "10000000000000000",
"mintDeposit": "20000000000000000",
"attributeCount": 0,
"collection": {
"collectionId": "7153"
},
"attributes": [],
"accounts": {
"totalCount": 1,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
},
"edges": [
{
"cursor": "eyJpZCI6NzgxOCwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
"node": {
"balance": "1",
"reservedBalance": "0",
"isFrozen": false,
"wallet": {
"account": {
"publicKey": "0x985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050",
"address": "cxMsNPRk7Ek5V76NC4o2HTBrnxcUnxLA9btuKPcuPkmYi84Ts"
}
},
"approvals": [],
"namedReserves": []
}
}
]
},
"nonFungible": true
}
}
],
"totalCount": 1,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "",
"endCursor": ""
}
}
}
}

GetTransaction

Get a single transaction using its database ID, on-chain transaction ID, or transaction hash.
Query
Response
query GetTransaction {
GetTransaction(
id: 11300
) {
id
idempotencyKey
transactionId
transactionHash
method
state
result
encodedData
signedAtBlock
createdAt
updatedAt
wallet {
account {
publicKey
address
}
}
events {
edges {
cursor
node {
phase
lookUp
moduleId
eventId
params {
type
value
}
}
}
totalCount
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}
}
{
"data": {
"GetTransaction": {
"id": 11300,
"idempotencyKey": "61f0b8e1-e0b9-4ecd-b445-84dc4cd2b495",
"transactionId": "402811-2",
"transactionHash": "0xbafe459e8248b802f3aef98d2e4a695bbb238899edf40519b082366e3ff8b98f",
"method": "BatchMint",
"state": "FINALIZED",
"result": "EXTRINSIC_SUCCESS",
"encodedData": "0x280dc56f04985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d05000180400010000c16ff2862300000000000000000001000000000000",
"signedAtBlock": 402809,
"createdAt": "2023-06-23T05:20:52+00:00",
"updatedAt": "2023-06-23T05:21:26+00:00",
"wallet": {
"account": {
"publicKey": "0x68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160",
"address": "cxLnsZcpE1xETr7TQrMCCsRYpSfpHPUpJUFAfiZdZvU6Ccy4B"
}
},
"events": {
"edges": [
{
"cursor": "eyJpZCI6Njk3MTEsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "Balances",
"eventId": "Withdraw",
"params": [
{
"type": "who",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "amount",
"value": "19981763653182275"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTIsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "Balances",
"eventId": "Reserved",
"params": [
{
"type": "who",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "amount",
"value": "10000000000000000"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTMsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "MultiTokens",
"eventId": "TokenCreated",
"params": [
{
"type": "collection_id",
"value": "7153"
},
{
"type": "token_id",
"value": "6"
},
{
"type": "issuer",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "initial_supply",
"value": "1"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTQsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "MultiTokens",
"eventId": "TokenAccountCreated",
"params": [
{
"type": "collection_id",
"value": "7153"
},
{
"type": "token_id",
"value": "6"
},
{
"type": "account",
"value": "985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050"
},
{
"type": "balance",
"value": "1"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTUsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "MultiTokens",
"eventId": "Minted",
"params": [
{
"type": "collection_id",
"value": "7153"
},
{
"type": "token_id",
"value": "6"
},
{
"type": "issuer",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "recipient",
"value": "985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050"
},
{
"type": "amount",
"value": "1"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTYsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "Balances",
"eventId": "Deposit",
"params": [
{
"type": "who",
"value": "6d6f646c65662f66656469730000000000000000000000000000000000000000"
},
{
"type": "amount",
"value": "19981763653182275"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTcsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "TransactionPayment",
"eventId": "TransactionFeePaid",
"params": [
{
"type": "who",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "actual_fee",
"value": "19981763653182275"
},
{
"type": "tip",
"value": "0"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTgsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "System",
"eventId": "ExtrinsicSuccess",
"params": [
{
"type": "dispatch_info",
"value": "{\"weight\":{\"ref_time\":\"848559950\",\"proof_size\":\"10283\"},\"class\":\"Normal\",\"pays_fee\":\"Yes\"}"
}
]
}
}
],
"totalCount": 8,
"pageInfo": {
"hasPreviousPage": false,
"hasNextPage": false,
"startCursor": "",
"endCursor": ""
}
}
}
}
}

GetTransactions

Get an array of transactions, optionally filtered by various parameters such as transaction IDs, transaction hashes, methods, states, results, or accounts.
Query
Response
query GetTransactions {
GetTransactions(
ids: [11300]
) {
edges {
cursor
node {
id
idempotencyKey
transactionId
transactionHash
method
state
result
encodedData
signedAtBlock
createdAt
updatedAt
wallet {
account {
publicKey
address
}
}
events {
edges {
cursor
node {
phase
lookUp
moduleId
eventId
params {
type
value
}
}
}
totalCount
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}
}
totalCount
pageInfo {
startCursor
endCursor
hasPreviousPage
hasNextPage
}
}
}
{
"data": {
"GetTransactions": {
"edges": [
{
"cursor": "eyJpZCI6MTEzMDAsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"id": 11300,
"idempotencyKey": "61f0b8e1-e0b9-4ecd-b445-84dc4cd2b495",
"transactionId": "402811-2",
"transactionHash": "0xbafe459e8248b802f3aef98d2e4a695bbb238899edf40519b082366e3ff8b98f",
"method": "BatchMint",
"state": "FINALIZED",
"result": "EXTRINSIC_SUCCESS",
"encodedData": "0x280dc56f04985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d05000180400010000c16ff2862300000000000000000001000000000000",
"signedAtBlock": 402809,
"createdAt": "2023-06-23T05:20:52+00:00",
"updatedAt": "2023-06-23T05:21:26+00:00",
"wallet": {
"account": {
"publicKey": "0x68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160",
"address": "cxLnsZcpE1xETr7TQrMCCsRYpSfpHPUpJUFAfiZdZvU6Ccy4B"
}
},
"events": {
"edges": [
{
"cursor": "eyJpZCI6Njk3MTEsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "Balances",
"eventId": "Withdraw",
"params": [
{
"type": "who",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "amount",
"value": "19981763653182275"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTIsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "Balances",
"eventId": "Reserved",
"params": [
{
"type": "who",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "amount",
"value": "10000000000000000"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTMsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "MultiTokens",
"eventId": "TokenCreated",
"params": [
{
"type": "collection_id",
"value": "7153"
},
{
"type": "token_id",
"value": "6"
},
{
"type": "issuer",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "initial_supply",
"value": "1"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTQsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "MultiTokens",
"eventId": "TokenAccountCreated",
"params": [
{
"type": "collection_id",
"value": "7153"
},
{
"type": "token_id",
"value": "6"
},
{
"type": "account",
"value": "985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050"
},
{
"type": "balance",
"value": "1"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTUsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "MultiTokens",
"eventId": "Minted",
"params": [
{
"type": "collection_id",
"value": "7153"
},
{
"type": "token_id",
"value": "6"
},
{
"type": "issuer",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "recipient",
"value": "985e66eaff2d50e6635942b20efb5690191c5da56adc3a2720e64b8bf534d050"
},
{
"type": "amount",
"value": "1"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTYsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "Balances",
"eventId": "Deposit",
"params": [
{
"type": "who",
"value": "6d6f646c65662f66656469730000000000000000000000000000000000000000"
},
{
"type": "amount",
"value": "19981763653182275"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTcsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "TransactionPayment",
"eventId": "TransactionFeePaid",
"params": [
{
"type": "who",
"value": "68b427dda4f3894613e113b570d5878f3eee981196133e308c0a82584cf2e160"
},
{
"type": "actual_fee",
"value": "19981763653182275"
},
{
"type": "tip",
"value": "0"
}
]
}
},
{
"cursor": "eyJpZCI6Njk3MTgsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
"node": {
"phase": 2,
"lookUp": "unknown",
"moduleId": "System",
"eventId": "ExtrinsicSuccess",
"params": [
{
"type": "dispatch_info",
"value": "{\"weight\":{\"ref_time\":\"848559950\",\"proof_size\":\"10283\"},\"class\":\"Normal\",\"pays_fee\":\"Yes\"}"
}
]
}
}
],
"totalCount": 8,
"pageInfo": {
"hasPreviousPage": false,
"hasNextPage": false,
"startCursor": "",
"endCursor": ""
}
}
}
}
],
"totalCount": 1,
"pageInfo": {
"startCursor": "",
"endCursor": "",
"hasPreviousPage": false,
"hasNextPage": false
}
}
}
}

GetWallet

Get a wallet using either its database ID, external ID, verification ID, or account address.
Query
Response
query GetWallet {
GetWallet(
id: 5
) {
id
account {
publicKey
address
}
externalId
managed
network
nonce
balances {
free
reserved
miscFrozen
feeFrozen
}
collectionAccounts {
totalCount
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
accountCount
isFrozen
collection {
collectionId
}
wallet {
account {
publicKey
address
}
}
approvals {
expiration
wallet {
account {
publicKey
address
}
}
}
}
}
}
tokenAccounts {
totalCount
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
balance
reservedBalance
isFrozen
collection {
collectionId
}
wallet {
account {
publicKey
address
}
}
token {
tokenId
}
approvals {
amount
expiration
wallet {
account {