From aba32256858a4f89d5124f0058fe46e5f4620992 Mon Sep 17 00:00:00 2001 From: greymistcube Date: Tue, 16 Jan 2024 09:54:11 +0000 Subject: [PATCH] deploy: c29386676163072d7c7007fa2a96770ded3f6474 --- graphql/index.html | 1159 +++++++++++++++++++++----------------------- schema.graphql | 438 +++++++++-------- 2 files changed, 782 insertions(+), 815 deletions(-) diff --git a/graphql/index.html b/graphql/index.html index 78becda14..52de40db7 100644 --- a/graphql/index.html +++ b/graphql/index.html @@ -101,6 +101,7 @@
  • ActionTxQuery
  • ActivationStatusMutation
  • ActivationStatusQuery
  • +
  • Address
  • AddressQuery
  • AgentStateType
  • AppProtocolVersionType
  • @@ -114,6 +115,7 @@
  • BigInt
  • Block
  • BlockCommit
  • +
  • BlockHash
  • BlockHeader
  • BlockQuery
  • Boolean
  • @@ -152,6 +154,7 @@
  • HashDigestSHA256
  • HelperQuery
  • ID
  • +
  • IValue
  • Int
  • InventoryItemType
  • InventoryType
  • @@ -160,7 +163,6 @@
  • ItemUsableType
  • KeyStoreMutation
  • KeyStoreType
  • -
  • LegacyBencodexValue
  • LibplanetStateQuery
  • Long
  • MailBoxType
  • @@ -186,6 +188,7 @@
  • PreloadStateType
  • PrivateKeyType
  • ProtectedPrivateKeyType
  • +
  • PublicKey
  • PublicKeyType
  • QuestListType
  • RaiderStateType
  • @@ -218,7 +221,7 @@
  • TransactionType
  • TransferNCGHistoryType
  • TxId
  • -
  • TxResultType
  • +
  • TxResult
  • TxStatus
  • TxType
  • ValidationQuery
  • @@ -231,10 +234,6 @@
  • WorldBossStateType
  • WorldInformationType
  • WorldType
  • -
  • address
  • -
  • blockHash
  • -
  • publicKey
  • -
  • txId
  • @@ -533,7 +532,7 @@
    Variables
    "ticker": "Mead" }, "nonce": {}, - "publicKey": "xyz789", + "publicKey": "abc123", "timestamp": DateTimeOffset } @@ -650,7 +649,7 @@
    Query
    Variables
    -
    {"invitationCode": "xyz789"}
    +                    
    {"invitationCode": "abc123"}
     
    @@ -659,7 +658,7 @@
    Variables
    Response
    -
    {"data": {"activated": true}}
    +                    
    {"data": {"activated": false}}
     
    @@ -735,7 +734,7 @@
    Variables
    Response
    -
    {"data": {"activationKeyNonce": "xyz789"}}
    +                    
    {"data": {"activationKeyNonce": "abc123"}}
     
    @@ -793,7 +792,7 @@
    Query
    Response
    -
    {"data": {"activationStatus": {"activated": false, "addressActivated": false}}}
    +                    
    {"data": {"activationStatus": {"activated": true, "addressActivated": true}}}
     
    @@ -851,12 +850,12 @@
    Response
    {
       "data": {
         "addressQuery": {
    -      "currencyMintersAddress": [address],
    -      "pledgeAddress": address,
    -      "raiderAddress": address,
    -      "raiderListAddress": address,
    -      "worldBossAddress": address,
    -      "worldBossKillRewardRecordAddress": address
    +      "currencyMintersAddress": [Address],
    +      "pledgeAddress": Address,
    +      "raiderAddress": Address,
    +      "raiderListAddress": Address,
    +      "worldBossAddress": Address,
    +      "worldBossKillRewardRecordAddress": Address
         }
       }
     }
    @@ -907,7 +906,7 @@ 
    Query
    } helperQuery { bencodexValue { - ...BencodexValueFragment + ...IValueFragment } currencyHash } @@ -948,7 +947,7 @@
    Query
    ...TransactionFragment } transactionResult { - ...TxResultTypeFragment + ...TxResultFragment } transactions { ...TransactionFragment @@ -1076,9 +1075,9 @@
    Response
    "publicKey": PublicKeyType, "serializedPayload": "xyz789", "signature": ByteString, - "signer": address, - "timestamp": "xyz789", - "updatedAddresses": [address] + "signer": Address, + "timestamp": "abc123", + "updatedAddresses": [Address] } } } @@ -1115,7 +1114,7 @@
    Arguments
    - address - address! + address - Address! Target address to query @@ -1136,7 +1135,7 @@
    Query
    query GoldBalance(
    -  $address: address!,
    +  $address: Address!,
       $hash: ByteString
     ) {
       goldBalance(
    @@ -1153,7 +1152,7 @@ 
    Variables
    {
    -  "address": address,
    +  "address": Address,
       "hash": ByteString
     }
     
    @@ -1164,7 +1163,7 @@
    Variables
    Response
    -
    {"data": {"goldBalance": "abc123"}}
    +                    
    {"data": {"goldBalance": "xyz789"}}
     
    @@ -1258,7 +1257,7 @@
    Description
    Response
    -

    Returns an address +

    Returns an Address

    @@ -1279,7 +1278,7 @@
    Query
    Response
    -
    {"data": {"minerAddress": address}}
    +                    
    {"data": {"minerAddress": Address}}
     
    @@ -1321,7 +1320,7 @@
    Arguments
    - address - address + address - Address agent address. @@ -1335,8 +1334,8 @@

    Example

    Query
    -
    query MonsterCollectionStatus($address: address) {
    -  monsterCollectionStatus(address: $address) {
    +                    
    query MonsterCollectionStatus($address: Address) {
    +  monsterCollectionStatus(address: $address) {
         fungibleAssetValue {
           currency
           quantity
    @@ -1348,7 +1347,7 @@ 
    Query
    }
    tipIndex }
    -} +}
    @@ -1357,7 +1356,7 @@
    Query
    Variables
    -
    {"address": address}
    +                    
    {"address": Address}
     
    @@ -1416,7 +1415,7 @@
    Arguments
    - address - address! + address - Address! Target address to query @@ -1430,7 +1429,7 @@

    Example

    Query
    -
    query NextTxNonce($address: address!) {
    +                    
    query NextTxNonce($address: Address!) {
       nextTxNonce(address: $address)
     }
     
    @@ -1441,7 +1440,7 @@
    Query
    Variables
    -
    {"address": address}
    +                    
    {"address": Address}
     
    @@ -1528,15 +1527,15 @@
    Response
    "data": { "nodeStatus": { "appProtocolVersion": AppProtocolVersionType, - "bootstrapEnded": false, + "bootstrapEnded": true, "genesis": BlockHeader, "informationalVersion": "abc123", "isMining": true, "preloadEnded": false, "productVersion": "xyz789", "stagedTxIds": [TxId], - "stagedTxIdsCount": 123, - "subscriberAddresses": [address], + "stagedTxIdsCount": 987, + "subscriberAddresses": [Address], "subscriberAddressesCount": 987, "tip": BlockHeader, "topmostBlocks": [BlockHeader] @@ -1660,12 +1659,12 @@
    Response
    {
       "data": {
         "rpcInformation": {
    -      "clients": [address],
    -      "clientsByDevice": [address],
    +      "clients": [Address],
    +      "clientsByDevice": [Address],
           "clientsByIps": [MultiAccountInfo],
    -      "clientsCountByIps": 123,
    -      "totalCount": 123,
    -      "totalCountByDevice": 123
    +      "clientsCountByIps": 987,
    +      "totalCount": 987,
    +      "totalCountByDevice": 987
         }
       }
     }
    @@ -1702,7 +1701,7 @@ 
    Arguments
    - address - address! + address - Address! The address of state to fetch from the chain. @@ -1723,7 +1722,7 @@
    Query
    query State(
    -  $address: address!,
    +  $address: Address!,
       $hash: ByteString
     ) {
       state(
    @@ -1740,7 +1739,7 @@ 
    Variables
    {
    -  "address": address,
    +  "address": Address,
       "hash": ByteString
     }
     
    @@ -2113,8 +2112,8 @@
    Response
    "monsterCollectionState": MonsterCollectionStateType, "orderDigestList": OrderDigestListStateType, "pledge": MeadPledgeType, - "raidId": 987, - "raiderList": [address], + "raidId": 123, + "raiderList": [Address], "raiderState": RaiderStateType, "rankingMap": RankingMapStateType, "shardedShop": ShardedShopStateV2Type, @@ -2233,13 +2232,13 @@
    Response
    "data": { "transaction": { "attachSignature": "xyz789", - "createUnsignedTx": "xyz789", + "createUnsignedTx": "abc123", "getTx": TransactionType, "ncTransactions": [TransactionType], "nextTxNonce": {}, "signTransaction": ByteString, - "transactionResult": TxResultType, - "transactionResults": [TxResultType], + "transactionResult": TxResult, + "transactionResults": [TxResult], "unsignedTransaction": ByteString } } @@ -2284,7 +2283,7 @@
    Arguments
    - recipient - address + recipient - Address @@ -2301,8 +2300,8 @@
    Query
    query TransferNCGHistories(
       $blockHash: ByteString!,
    -  $recipient: address
    -) {
    +  $recipient: Address
    +) {
       transferNCGHistories(
         blockHash: $blockHash,
         recipient: $recipient
    @@ -2325,7 +2324,7 @@ 
    Variables
    {
       "blockHash": ByteString,
    -  "recipient": address
    +  "recipient": Address
     }
     
    @@ -2341,9 +2340,9 @@
    Response
    { "amount": "xyz789", "blockHash": ByteString, - "memo": "abc123", - "recipient": address, - "sender": address, + "memo": "xyz789", + "recipient": Address, + "sender": Address, "txId": ByteString } ] @@ -2647,7 +2646,7 @@
    Query
    Variables
    -
    {"payload": "abc123"}
    +                    
    {"payload": "xyz789"}
     
    @@ -2867,7 +2866,7 @@
    Arguments
    - recipient - address! + recipient - Address! A hex-encoded value for address of recipient. @@ -2891,7 +2890,7 @@
    Query
    $amount: String!, $currencyAddress: String!, $memo: String, - $recipient: address!, + $recipient: Address!, $txNonce: Long! ) { transfer( @@ -2914,7 +2913,7 @@
    Variables
    "amount": "abc123", "currencyAddress": "000000000000000000000000000000000000000A", "memo": "xyz789", - "recipient": address, + "recipient": Address, "txNonce": {} }
    @@ -2973,7 +2972,7 @@
    Arguments
    - recipient - address! + recipient - Address! @@ -2990,7 +2989,7 @@
    Query
    mutation TransferGold(
       $amount: String!,
    -  $recipient: address!
    +  $recipient: Address!
     ) {
       transferGold(
         amount: $amount,
    @@ -3007,7 +3006,7 @@ 
    Variables
    {
       "amount": "xyz789",
    -  "recipient": address
    +  "recipient": Address
     }
     
    @@ -3049,7 +3048,7 @@
    Arguments
    - address - address! + address - Address! A hex-encoded address of agent. @@ -3063,7 +3062,7 @@

    Example

    Query
    -
    subscription BalanceByAgent($address: address!) {
    +                    
    subscription BalanceByAgent($address: Address!) {
       balanceByAgent(address: $address)
     }
     
    @@ -3074,7 +3073,7 @@
    Query
    Variables
    -
    {"address": address}
    +                    
    {"address": Address}
     
    @@ -3083,7 +3082,7 @@
    Variables
    Response
    -
    {"data": {"balanceByAgent": "abc123"}}
    +                    
    {"data": {"balanceByAgent": "xyz789"}}
     
    @@ -3191,7 +3190,7 @@
    Response
    {
       "data": {
         "nodeException": {
    -      "code": 123,
    +      "code": 987,
           "message": "xyz789"
         }
       }
    @@ -3275,14 +3274,14 @@ 
    Response
    "appProtocolVersion": AppProtocolVersionType, "bootstrapEnded": true, "genesis": BlockHeader, - "informationalVersion": "abc123", - "isMining": false, + "informationalVersion": "xyz789", + "isMining": true, "preloadEnded": false, "productVersion": "xyz789", "stagedTxIds": [TxId], - "stagedTxIdsCount": 123, - "subscriberAddresses": [address], - "subscriberAddressesCount": 987, + "stagedTxIdsCount": 987, + "subscriberAddresses": [Address], + "subscriberAddressesCount": 123, "tip": BlockHeader, "topmostBlocks": [BlockHeader] } @@ -3333,7 +3332,7 @@
    Response
    {
       "data": {
         "notification": {
    -      "message": "abc123",
    +      "message": "xyz789",
           "type": "BUYER"
         }
       }
    @@ -3523,7 +3522,7 @@ 
    Query
    Variables
    -
    {"actionType": "abc123"}
    +                    
    {"actionType": "xyz789"}
     
    @@ -3536,7 +3535,7 @@
    Response
    "data": { "tx": { "transaction": TransactionType, - "txResult": TxResultType + "txResult": TxResult } } } @@ -3567,7 +3566,7 @@
    Fields
    - balance - BencodexValue + balance - IValue Balance at given address and currency hash pair. @@ -3577,7 +3576,7 @@
    Fields
    Arguments
    -
    address - address! +
    address - Address!

    The address to look up.

    @@ -3591,7 +3590,7 @@
    currencyHash - balances - [BencodexValue]! + balances - [IValue]! Balances at given addresses and currency hash pair. @@ -3601,7 +3600,7 @@
    currencyHash Arguments
    -
    addresses - [address!]! +
    addresses - [Address!]!

    The list of addresses to look up.

    @@ -3615,7 +3614,7 @@
    currencyHash - state - BencodexValue + state - IValue The state at given address. @@ -3625,7 +3624,7 @@
    currencyHash Arguments
    -
    address - address! +
    address - Address!

    The address to look up.

    @@ -3639,7 +3638,7 @@
    address The state root hash associated with this account state. - states - [BencodexValue]! + states - [IValue]! The states at given addresses. @@ -3649,7 +3648,7 @@
    address
    Arguments
    -
    addresses - [address!]! +
    addresses - [Address!]!

    The list of addresses to look up.

    @@ -3658,7 +3657,7 @@
    addresses - totalSupply - BencodexValue + totalSupply - IValue Total supply in circulation, if recorded, for given currency hash. @@ -3677,7 +3676,7 @@
    currencyHash - validatorSet - BencodexValue + validatorSet - IValue The validator set. @@ -3691,13 +3690,13 @@
    Example
    {
    -  "balance": BencodexValue,
    -  "balances": [BencodexValue],
    -  "state": BencodexValue,
    +  "balance": IValue,
    +  "balances": [IValue],
    +  "state": IValue,
       "stateRootHash": HashDigestSHA256,
    -  "states": [BencodexValue],
    -  "totalSupply": BencodexValue,
    -  "validatorSet": BencodexValue
    +  "states": [IValue],
    +  "totalSupply": IValue,
    +  "validatorSet": IValue
     }
     
    @@ -3763,7 +3762,7 @@
    Example
    {
       "inspection": "xyz789",
       "json": "xyz789",
    -  "raw": "xyz789"
    +  "raw": "abc123"
     }
     
    @@ -3800,7 +3799,7 @@
    Fields
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar to use potion.

    @@ -3819,7 +3818,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar for get reward.

    @@ -3838,7 +3837,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to combine consumable.

    @@ -3867,7 +3866,7 @@
    slotIndex Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to create equipment.

    @@ -3945,7 +3944,7 @@
    tailIndex Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to receive reward.

    @@ -3964,7 +3963,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address.

    @@ -4013,7 +4012,7 @@
    worldId
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to upgrade equipment.

    @@ -4132,7 +4131,7 @@
    activationCode
    Arguments
    -
    patronAddress - address! +
    patronAddress - Address!
    @@ -4151,7 +4150,7 @@
    patronAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to get summoned items

    @@ -4206,7 +4205,7 @@
    memo Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state to receive reward.

    @@ -4226,7 +4225,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address +
    avatarAddress - Address

    The avatar address to receive staking rewards.

    @@ -4246,7 +4245,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state to receive reward.

    @@ -4266,7 +4265,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to combine consumable

    @@ -4296,7 +4295,7 @@
    slotIndex Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to combine equipment

    @@ -4391,7 +4390,7 @@
    tail Arguments
    -
    agentAddresses - [address!]! +
    agentAddresses - [Address!]!
    @@ -4399,7 +4398,7 @@
    mead
    -
    patronAddress - address! +
    patronAddress - Address!
    @@ -4418,7 +4417,7 @@
    patronAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to get daily reward

    @@ -4453,7 +4452,7 @@
    memoMemo

    -
    recipientAgentAddr - address! +
    recipientAgentAddr - Address!

    Recipient agent address

    @@ -4473,7 +4472,7 @@
    recipientAgent
    Arguments
    -
    agentAddress - address! +
    agentAddress - Address!
    @@ -4492,7 +4491,7 @@
    agentAddress Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -4522,7 +4521,7 @@
    equipmentIds Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address.

    @@ -4587,7 +4586,7 @@
    apStoneCountAP stone usage to sweep

    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address.

    @@ -4632,7 +4631,7 @@
    worldId
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to enhance item

    @@ -4677,7 +4676,7 @@
    fungibleIdAndC

    Array of fungible ID and count

    -
    inventoryAddr - address +
    inventoryAddr - Address

    Inventory Address

    @@ -4702,7 +4701,7 @@
    memo Arguments
    -
    avatarAddress - address +
    avatarAddress - Address

    The avatar address to receive monster collection rewards.

    @@ -4752,7 +4751,7 @@
    assets<

    list of FungibleAssetValue for charge reward.

    -
    rewardPoolAddress - address! +
    rewardPoolAddress - Address!

    address of reward pool for charge reward.

    @@ -4772,7 +4771,7 @@
    rewardPoolAddr
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state.

    @@ -4817,7 +4816,7 @@
    runeSlotInfos<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to execute rapid combination

    @@ -4842,7 +4841,7 @@
    slotIndex Arguments
    -
    agentAddress - address! +
    agentAddress - Address!
    @@ -4865,7 +4864,7 @@
    mead Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    The avatar address to enhance rune.

    @@ -4895,7 +4894,7 @@
    tryCount Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to get summoned items

    @@ -4965,12 +4964,12 @@
    rawCurrencyA currency to be transferred.

    -
    recipient - address! +
    recipient - Address!

    Address of recipient.

    -
    sender - address! +
    sender - Address!

    Address of sender.

    @@ -5000,7 +4999,7 @@
    recipientsList of tuples that recipients' address and asset amount to be sent

    -
    sender - address! +
    sender - Address!

    Address of sender.

    @@ -5035,7 +5034,7 @@
    memoMemo

    -
    recipientAvatarAddr - address! +
    recipientAvatarAddr - Address!

    Recipient avatar address

    @@ -5055,7 +5054,7 @@
    recipientAvata
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -5080,7 +5079,7 @@
    recipeIds Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -5195,7 +5194,7 @@
    activationCode
    Arguments
    -
    patronAddress - address! +
    patronAddress - Address!
    @@ -5214,7 +5213,7 @@
    patronAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to get summoned items

    @@ -5269,7 +5268,7 @@
    memo Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state to receive reward.

    @@ -5289,7 +5288,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address +
    avatarAddress - Address

    The avatar address to receive staking rewards.

    @@ -5309,7 +5308,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state to receive reward.

    @@ -5329,7 +5328,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to combine consumable

    @@ -5359,7 +5358,7 @@
    slotIndex Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to combine equipment

    @@ -5454,7 +5453,7 @@
    tail Arguments
    -
    agentAddresses - [address!]! +
    agentAddresses - [Address!]!
    @@ -5462,7 +5461,7 @@
    mead
    -
    patronAddress - address! +
    patronAddress - Address!
    @@ -5481,7 +5480,7 @@
    patronAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to get daily reward

    @@ -5516,7 +5515,7 @@
    memoMemo

    -
    recipientAgentAddr - address! +
    recipientAgentAddr - Address!

    Recipient agent address

    @@ -5536,7 +5535,7 @@
    recipientAgent
    Arguments
    -
    agentAddress - address! +
    agentAddress - Address!
    @@ -5555,7 +5554,7 @@
    agentAddress Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -5585,7 +5584,7 @@
    equipmentIds Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address.

    @@ -5650,7 +5649,7 @@
    apStoneCountAP stone usage to sweep

    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address.

    @@ -5695,7 +5694,7 @@
    worldId
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to enhance item

    @@ -5740,7 +5739,7 @@
    fungibleIdAndC

    Array of fungible ID and count

    -
    inventoryAddr - address +
    inventoryAddr - Address

    Inventory Address

    @@ -5765,7 +5764,7 @@
    memo Arguments
    -
    avatarAddress - address +
    avatarAddress - Address

    The avatar address to receive monster collection rewards.

    @@ -5815,7 +5814,7 @@
    assets<

    list of FungibleAssetValue for charge reward.

    -
    rewardPoolAddress - address! +
    rewardPoolAddress - Address!

    address of reward pool for charge reward.

    @@ -5835,7 +5834,7 @@
    rewardPoolAddr
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state.

    @@ -5880,7 +5879,7 @@
    runeSlotInfos<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to execute rapid combination

    @@ -5905,7 +5904,7 @@
    slotIndex Arguments
    -
    agentAddress - address! +
    agentAddress - Address!
    @@ -5928,7 +5927,7 @@
    mead Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    The avatar address to enhance rune.

    @@ -5958,7 +5957,7 @@
    tryCount Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to get summoned items

    @@ -6028,12 +6027,12 @@
    rawCurrencyA currency to be transferred.

    -
    recipient - address! +
    recipient - Address!

    Address of recipient.

    -
    sender - address! +
    sender - Address!

    Address of sender.

    @@ -6063,7 +6062,7 @@
    recipientsList of tuples that recipients' address and asset amount to be sent

    -
    sender - address! +
    sender - Address!

    Address of sender.

    @@ -6098,7 +6097,7 @@
    memoMemo

    -
    recipientAvatarAddr - address! +
    recipientAvatarAddr - Address!

    Recipient avatar address

    @@ -6118,7 +6117,7 @@
    recipientAvata
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -6143,7 +6142,7 @@
    recipeIds Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -6299,7 +6298,7 @@
    Fields
    Arguments
    -
    address - address! +
    address - Address!
    @@ -6315,7 +6314,28 @@
    address
    Example
    -
    {"activated": true, "addressActivated": true}
    +                    
    {"activated": true, "addressActivated": false}
    +
    + + +
    +
    +
    + +
    +
    + Types +
    +

    Address

    +
    +
    +
    +
    +
    +
    Example
    + + +
    Address
     
    @@ -6341,7 +6361,7 @@
    Fields
    - currencyMintersAddress - [address!] + currencyMintersAddress - [Address!] currency minters address. @@ -6360,7 +6380,7 @@
    currency - pledgeAddress - address! + pledgeAddress - Address! pledge information address. @@ -6370,7 +6390,7 @@
    currency Arguments
    -
    agentAddress - address! +
    agentAddress - Address!

    address of agent state.

    @@ -6379,7 +6399,7 @@
    agentAddress - raiderAddress - address! + raiderAddress - Address! user information address by world boss season. @@ -6389,7 +6409,7 @@
    agentAddress Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state.

    @@ -6403,7 +6423,7 @@
    raidId< - raiderListAddress - address! + raiderListAddress - Address! raider list address by world boss season. @@ -6422,7 +6442,7 @@
    raidId< - worldBossAddress - address! + worldBossAddress - Address! boss information address by world boss season. @@ -6441,7 +6461,7 @@
    raidId< - worldBossKillRewardRecordAddress - address! + worldBossKillRewardRecordAddress - Address! user boss kill reward record address by world boss season. @@ -6451,7 +6471,7 @@
    raidId<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    address of avatar state.

    @@ -6474,12 +6494,12 @@
    Example
    {
    -  "currencyMintersAddress": [address],
    -  "pledgeAddress": address,
    -  "raiderAddress": address,
    -  "raiderListAddress": address,
    -  "worldBossAddress": address,
    -  "worldBossKillRewardRecordAddress": address
    +  "currencyMintersAddress": [Address],
    +  "pledgeAddress": Address,
    +  "raiderAddress": Address,
    +  "raiderListAddress": Address,
    +  "worldBossAddress": Address,
    +  "worldBossKillRewardRecordAddress": Address
     }
     
    @@ -6506,7 +6526,7 @@
    Fields
    - address - address! + address - Address! Address of agent. @@ -6556,7 +6576,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "avatarStates": [AvatarStateType],
       "crystal": "abc123",
       "gold": "abc123",
    @@ -6602,7 +6622,7 @@ 
    Fields
    - signer - address! + signer - Address! @@ -6625,7 +6645,7 @@
    Example
    {
       "extra": ByteString,
       "signature": ByteString,
    -  "signer": address,
    +  "signer": Address,
       "version": 123
     }
     
    @@ -6659,7 +6679,7 @@
    Fields
    - agentAddress - address! + agentAddress - Address! @@ -6671,7 +6691,7 @@
    Fields
    - avatarAddress - address! + avatarAddress - Address! @@ -6704,11 +6724,11 @@
    Example
    {
    -  "active": false,
    -  "agentAddress": address,
    +  "active": true,
    +  "agentAddress": Address,
       "arenaRecord": ArenaRecordType,
    -  "avatarAddress": address,
    -  "avatarName": "abc123",
    +  "avatarAddress": Address,
    +  "avatarName": "xyz789",
       "dailyChallengeCount": 123,
       "score": 123
     }
    @@ -6737,13 +6757,13 @@ 
    Fields
    - address - address! + address - Address! - avatarAddress - address! + avatarAddress - Address! @@ -6794,10 +6814,10 @@
    Example
    {
    -  "address": address,
    -  "avatarAddress": address,
    -  "lose": 987,
    -  "purchasedTicketCount": 123,
    +  "address": Address,
    +  "avatarAddress": Address,
    +  "lose": 123,
    +  "purchasedTicketCount": 987,
       "score": 987,
       "ticket": 123,
       "ticketResetCount": 987,
    @@ -6828,7 +6848,7 @@ 
    Fields
    - avatarAddr - address! + avatarAddr - Address! Address of avatar. @@ -6882,13 +6902,13 @@
    Example
    {
    -  "avatarAddr": address,
    -  "cp": 123,
    -  "level": 123,
    -  "loseScore": 987,
    +  "avatarAddr": Address,
    +  "cp": 987,
    +  "level": 987,
    +  "loseScore": 123,
       "nameWithHash": "xyz789",
    -  "portraitId": 987,
    -  "rank": 987,
    +  "portraitId": 123,
    +  "rank": 123,
       "score": 123,
       "winScore": 123
     }
    @@ -6974,12 +6994,12 @@ 
    Fields
    Current ActionPoint. - address - address! + address - Address! Address of avatar. - agentAddress - address! + agentAddress - Address! Address of agent. @@ -6994,7 +7014,7 @@
    Fields
    Character ID from CharacterSheet. - combinationSlotAddresses - [address!]! + combinationSlotAddresses - [Address!]! Address list of combination slot. @@ -7039,7 +7059,7 @@
    Fields
    Avatar inventory. - inventoryAddress - address! + inventoryAddress - Address! Avatar inventory address. @@ -7113,31 +7133,31 @@
    Example
    {
    -  "actionPoint": 987,
    -  "address": address,
    -  "agentAddress": address,
    -  "blockIndex": 123,
    -  "characterId": 987,
    -  "combinationSlotAddresses": [address],
    +  "actionPoint": 123,
    +  "address": Address,
    +  "agentAddress": Address,
    +  "blockIndex": 987,
    +  "characterId": 123,
    +  "combinationSlotAddresses": [Address],
       "combinationSlots": [CombinationSlotStateType],
       "dailyRewardReceivedIndex": {},
    -  "ear": 987,
    +  "ear": 123,
       "eventMap": CollectionMapType,
       "exp": 123,
    -  "hair": 987,
    +  "hair": 123,
       "index": 987,
       "inventory": InventoryType,
    -  "inventoryAddress": address,
    +  "inventoryAddress": Address,
       "itemMap": CollectionMapType,
    -  "lens": 987,
    +  "lens": 123,
       "level": 987,
       "mailBox": MailBoxType,
       "monsterMap": CollectionMapType,
    -  "name": "xyz789",
    +  "name": "abc123",
       "questList": QuestListType,
       "runes": [RuneStateType],
       "stageMap": CollectionMapType,
    -  "tail": 123,
    +  "tail": 987,
       "updatedAt": {},
       "worldInformation": WorldInformationType
     }
    @@ -7167,7 +7187,7 @@ 
    Fields
    - balanceAddr - address + balanceAddr - Address Balance Address. @@ -7187,7 +7207,7 @@
    Example
    {
    -  "balanceAddr": address,
    +  "balanceAddr": Address,
       "value": SimplifyFungibleAssetValueInput
     }
     
    @@ -7197,58 +7217,20 @@
    Example
    -
    +

    BencodexValue

    -
    -
    Fields
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Field NameDescription
    base64 - String! - A base64 representation of the bencodex value encoded to byte array.
    hex - String! - A hexadecimal representation of the bencodex value encoded as byte array.
    inspection - String! - A human readable representation of the bencodex value.
    json - String! - A JSON representation of the bencodex value
    -
    Example
    -
    {
    -  "base64": "abc123",
    -  "hex": "xyz789",
    -  "inspection": "abc123",
    -  "json": "xyz789"
    -}
    +                    
    BencodexValue
     
    @@ -7301,7 +7283,7 @@
    Fields
    - hash - blockHash! + hash - BlockHash! A block's hash. @@ -7316,7 +7298,7 @@
    Fields
    The LastCommit of the block. - miner - address! + miner - Address! The address of the miner. @@ -7337,7 +7319,7 @@
    Fields
    The previous block. If it's a genesis block (i.e., its index is 0) this must be null. - publicKey - publicKey + publicKey - PublicKey The public key of the Miner. @@ -7379,14 +7361,14 @@
    Example
    {
       "difficulty": {},
    -  "hash": blockHash,
    +  "hash": BlockHash,
       "index": {},
       "lastCommit": BlockCommit,
    -  "miner": address,
    +  "miner": Address,
       "nonce": ByteString,
       "preEvaluationHash": HashDigestSHA256,
       "previousBlock": Block,
    -  "publicKey": publicKey,
    +  "publicKey": PublicKey,
       "signature": ByteString,
       "stateRootHash": HashDigestSHA256,
       "timestamp": DateTimeOffset,
    @@ -7418,7 +7400,7 @@ 
    Fields
    - blockHash - blockHash! + blockHash - BlockHash! The hash of the block which contains block commit. @@ -7447,11 +7429,32 @@
    Example
    {
    -  "blockHash": blockHash,
    +  "blockHash": BlockHash,
       "height": {},
       "round": 987,
       "votes": [Vote]
     }
    +
    + + +
    +
    +
    +
    +
    +
    + Types +
    +

    BlockHash

    +
    +
    +
    +
    +
    +
    Example
    + + +
    BlockHash
     
    @@ -7495,7 +7498,7 @@
    Fields
    - miner - address + miner - Address @@ -7512,8 +7515,8 @@
    Example
    {
       "hash": "abc123",
       "id": "4",
    -  "index": 123,
    -  "miner": address
    +  "index": 987,
    +  "miner": Address
     }
     
    @@ -7551,7 +7554,7 @@
    Fields
    Arguments
    -
    hash - blockHash +
    hash - BlockHash
    @@ -7586,7 +7589,7 @@
    limit
    -
    miner - address +
    miner - Address
    @@ -7627,15 +7630,6 @@
    Description
    -
    -
    Example
    - - -
    true
    -
    - - -
    @@ -7667,7 +7661,7 @@
    Fields
    The address of the miner. - publicKey - publicKey! + publicKey - PublicKey! The public key of the peer. @@ -7681,9 +7675,9 @@
    Example
    {
    -  "endPoint": "abc123",
    +  "endPoint": "xyz789",
       "publicIpAddress": "xyz789",
    -  "publicKey": publicKey
    +  "publicKey": PublicKey
     }
     
    @@ -7753,7 +7747,7 @@
    Fields
    - avatarAddress - address! + avatarAddress - Address! @@ -7775,7 +7769,7 @@
    Example
    {
    -  "avatarAddress": address,
    +  "avatarAddress": Address,
       "fungibleAssetValues": [FungibleAssetValueInputType]
     }
     
    @@ -7823,7 +7817,7 @@
    Fields
    Example
    -
    {"count": 987, "pairs": [123]}
    +                    
    {"count": 123, "pairs": [123]}
     
    @@ -7849,7 +7843,7 @@
    Fields
    - address - address! + address - Address! Address of combination slot. @@ -7883,11 +7877,11 @@
    Example
    {
    -  "address": address,
    -  "petId": 123,
    +  "address": Address,
    +  "petId": 987,
       "startBlockIndex": {},
       "unlockBlockIndex": {},
    -  "unlockStage": 987
    +  "unlockStage": 123
     }
     
    @@ -8052,8 +8046,8 @@
    Example
    {
       "elementalType": "FIRE",
       "equipped": false,
    -  "grade": 123,
    -  "id": 987,
    +  "grade": 987,
    +  "id": 123,
       "itemId": Guid,
       "itemSubType": "AP_STONE",
       "itemType": "CONSUMABLE",
    @@ -8095,7 +8089,7 @@ 
    Fields
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to craft event item

    @@ -8130,7 +8124,7 @@
    slotIndex Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Avatar address to craft item

    @@ -8211,7 +8205,7 @@
    Fields
    Example
    -
    {"level": 123, "multiplier": 123}
    +                    
    {"level": 987, "multiplier": 987}
     
    @@ -8296,7 +8290,7 @@
    Fields
    The uppermost quantity of currency allowed to exist. null means unlimited supply. - minters - [address!] + minters - [Address!] The addresses who can mint this currency. If this is null anyone can mint the currency. On the other hand, unlike null, an empty set means no one can mint the currency. @@ -8323,9 +8317,9 @@
    Example
    "decimalPlaces": [196, 189, 173, 171, 167, 163], "hash": HashDigestSHA1, "maximumSupply": FungibleAssetValue, - "minters": [address], - "ticker": "xyz789", - "totalSupplyTrackable": false + "minters": [Address], + "ticker": "abc123", + "totalSupplyTrackable": true }
    @@ -8439,7 +8433,7 @@
    Fields
    - minters - [address!] + minters - [Address!] The addresses who can mint this currency. If this is null anyone can mint the currency. On the other hand, unlike null, an empty set means no one can mint the currency. @@ -8468,9 +8462,9 @@
    Example
    "decimalPlaces": [196, 189, 173, 171, 167, 163], "maximumSupplyMajorUnit": {}, "maximumSupplyMinorUnit": {}, - "minters": [address], - "ticker": "abc123", - "totalSupplyTrackable": false + "minters": [Address], + "ticker": "xyz789", + "totalSupplyTrackable": true }
    @@ -8503,7 +8497,7 @@
    Fields
    - minters - [address] + minters - [Address] @@ -8525,8 +8519,8 @@
    Example
    {
       "decimalPlaces": [196, 189, 173, 171, 167, 163],
    -  "minters": [address],
    -  "ticker": "abc123"
    +  "minters": [Address],
    +  "ticker": "xyz789"
     }
     
    @@ -8690,7 +8684,7 @@
    Example
    {
       "localVersion": AppProtocolVersionType,
    -  "peer": "abc123",
    +  "peer": "xyz789",
       "peerVersion": AppProtocolVersionType
     }
     
    @@ -8884,15 +8878,15 @@
    Example
    "buffSkills": [SkillType], "elementalType": "FIRE", "equipped": true, - "exp": 987, + "exp": 123, "grade": 123, - "id": 987, + "id": 123, "itemId": Guid, "itemSubType": "AP_STONE", "itemType": "CONSUMABLE", - "level": 123, + "level": 987, "requiredBlockIndex": {}, - "setId": 123, + "setId": 987, "skills": [SkillType], "stat": DecimalStatType, "statsMap": StatsMapType @@ -9077,7 +9071,7 @@
    Fields
    - minters - [address!] + minters - [Address!] @@ -9107,9 +9101,9 @@
    Example
    {
       "decimalPlaces": [196, 189, 173, 171, 167, 163],
    -  "minters": [address],
    +  "minters": [Address],
       "quantity": {},
    -  "ticker": "abc123"
    +  "ticker": "xyz789"
     }
     
    @@ -9267,7 +9261,7 @@
    Fields
    Example
    -
    {"count": 123, "fungibleId": "xyz789"}
    +                    
    {"count": 987, "fungibleId": "xyz789"}
     
    @@ -9293,7 +9287,7 @@
    Fields
    - addr - address + addr - Address @@ -9326,9 +9320,9 @@
    Example
    {
    -  "addr": address,
    +  "addr": Address,
       "count": 987,
    -  "fungibleItemId": "abc123",
    +  "fungibleItemId": "xyz789",
       "item": FungibleItemType
     }
     
    @@ -9381,7 +9375,7 @@
    Example
    {
    -  "fungibleItemId": "xyz789",
    +  "fungibleItemId": "abc123",
       "itemSubType": "AP_STONE",
       "itemType": "CONSUMABLE"
     }
    @@ -9410,7 +9404,7 @@ 
    Fields
    - agentAddr - address + agentAddr - Address @@ -9428,7 +9422,7 @@
    Fields
    - garageBalancesAddr - address + garageBalancesAddr - Address @@ -9443,12 +9437,12 @@
    Example
    {
    -  "agentAddr": address,
    +  "agentAddr": Address,
       "fungibleItemGarages": [
         FungibleItemGarageWithAddressType
       ],
       "garageBalances": [FungibleAssetValue],
    -  "garageBalancesAddr": address
    +  "garageBalancesAddr": Address
     }
     
    @@ -9542,7 +9536,7 @@
    Fields
    - bencodexValue - BencodexValue! + bencodexValue - IValue! Decodes hex encoded bencodex value @@ -9589,7 +9583,7 @@
    Example
    {
    -  "bencodexValue": BencodexValue,
    +  "bencodexValue": IValue,
       "currencyHash": HashDigestSHA1
     }
     
    @@ -9617,6 +9611,65 @@
    Example
    4
    +
    + + +
    +
    +
    + +
    +
    + Types +
    +

    IValue

    +
    +
    +
    +
    Fields
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Field NameDescription
    base64 - String! + A base64 representation of the bencodex value encoded to byte array.
    hex - String! + A hexadecimal representation of the bencodex value encoded as byte array.
    inspection - String! + A human readable representation of the bencodex value.
    json - String! + A JSON representation of the bencodex value
    +
    +
    +
    +
    +
    Example
    + + +
    {
    +  "base64": "xyz789",
    +  "hex": "xyz789",
    +  "inspection": "xyz789",
    +  "json": "abc123"
    +}
     
    @@ -9641,7 +9694,7 @@
    Description
    Example
    -
    123
    +                    
    987
     
    @@ -9715,9 +9768,9 @@
    Example
    {
    -  "count": 987,
    -  "fungibleItemId": "xyz789",
    -  "id": 987,
    +  "count": 123,
    +  "fungibleItemId": "abc123",
    +  "id": 123,
       "itemType": "CONSUMABLE",
       "lockId": Guid,
       "locked": false,
    @@ -10210,7 +10263,7 @@ 
    privateKey Arguments
    -
    address - address! +
    address - Address!
    @@ -10266,7 +10319,7 @@
    Fields
    Arguments
    -
    address - address! +
    address - Address!
    @@ -10316,27 +10369,6 @@
    Example
    "privateKey": PrivateKeyType, "protectedPrivateKeys": [ProtectedPrivateKeyType] } -
    - - -
    -
    -
    -
    -
    -
    - Types -
    -

    LegacyBencodexValue

    -
    -
    -
    -
    -
    -
    Example
    - - -
    LegacyBencodexValue
     
    @@ -10372,7 +10404,7 @@
    Fields
    Arguments
    -
    blockHash - blockHash +
    blockHash - BlockHash

    A block hash to use as a pointer.

    @@ -10396,7 +10428,7 @@
    stateRootHash<
    Arguments
    -
    blockHashes - [blockHash!] +
    blockHashes - [BlockHash!]

    A list of block hashes to use as pointers.

    @@ -10425,7 +10457,7 @@
    currency
    -
    offsetBlockHash - blockHash +
    offsetBlockHash - BlockHash
    @@ -10433,7 +10465,7 @@
    offsetStateRoo
    -
    owner - address! +
    owner - Address!
    @@ -10441,7 +10473,7 @@
    owner - states - [LegacyBencodexValue]! + states - [BencodexValue]! @@ -10452,11 +10484,11 @@
    owner Arguments
    -
    addresses - [address!]! +
    addresses - [Address!]!
    -
    offsetBlockHash - blockHash +
    offsetBlockHash - BlockHash
    @@ -10483,7 +10515,7 @@
    currency
    -
    offsetBlockHash - blockHash +
    offsetBlockHash - BlockHash
    @@ -10506,7 +10538,7 @@
    offsetStateRoo
    Arguments
    -
    offsetBlockHash - blockHash +
    offsetBlockHash - BlockHash
    @@ -10530,7 +10562,7 @@
    Example
    "account": AccountState, "accounts": [AccountState], "balance": FungibleAssetValue, - "states": [LegacyBencodexValue], + "states": [BencodexValue], "totalSupply": FungibleAssetValue, "validators": [Validator] } @@ -10600,7 +10632,7 @@
    Fields
    Example
    -
    {"count": 987, "mails": [MailType]}
    +                    
    {"count": 123, "mails": [MailType]}
     
    @@ -10815,7 +10847,7 @@
    Fields
    - patronAddress - address + patronAddress - Address @@ -10829,7 +10861,7 @@
    Fields
    Example
    -
    {"approved": true, "mead": 987, "patronAddress": address}
    +                    
    {"approved": false, "mead": 123, "patronAddress": Address}
     
    @@ -10928,7 +10960,7 @@
    Example
    {
    -  "level": 987,
    +  "level": 123,
       "requiredGold": 123,
       "rewards": [MonsterCollectionRewardInfoType]
     }
    @@ -10997,7 +11029,7 @@ 
    Fields
    - address - address! + address - Address! @@ -11048,7 +11080,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "claimableBlockIndex": {},
       "expiredBlockIndex": {},
       "level": {},
    @@ -11115,7 +11147,7 @@ 
    Example
    {
       "fungibleAssetValue": FungibleAssetValueType,
    -  "lockup": false,
    +  "lockup": true,
       "rewardInfos": [MonsterCollectionRewardInfoType],
       "tipIndex": {}
     }
    @@ -11183,11 +11215,11 @@ 
    Example
    {
    -  "agents": ["abc123"],
    +  "agents": ["xyz789"],
       "agentsCount": 987,
       "ips": ["xyz789"],
    -  "ipsCount": 123,
    -  "key": "xyz789"
    +  "ipsCount": 987,
    +  "key": "abc123"
     }
     
    @@ -11360,7 +11392,7 @@
    Fields
    Arguments
    -
    address - address +
    address - Address

    Target address to query

    @@ -11374,7 +11406,7 @@
    address The number of ids of staged transactions from the current node. - subscriberAddresses - [address] + subscriberAddresses - [Address] A list of subscribers' address @@ -11404,7 +11436,7 @@
    limitThe number of blocks to get.

    -
    miner - address +
    miner - Address

    List only blocks mined by the given address. (List everything if omitted.)

    @@ -11430,13 +11462,13 @@
    Example
    "appProtocolVersion": AppProtocolVersionType, "bootstrapEnded": false, "genesis": BlockHeader, - "informationalVersion": "abc123", + "informationalVersion": "xyz789", "isMining": false, "preloadEnded": true, "productVersion": "xyz789", "stagedTxIds": [TxId], - "stagedTxIdsCount": 987, - "subscriberAddresses": [address], + "stagedTxIdsCount": 123, + "subscriberAddresses": [Address], "subscriberAddressesCount": 123, "tip": BlockHeader, "topmostBlocks": [BlockHeader] @@ -11560,7 +11592,7 @@
    Fields
    Example
    -
    {"message": "abc123", "type": "BUYER"}
    +                    
    {"message": "xyz789", "type": "BUYER"}
     
    @@ -11586,7 +11618,7 @@
    Fields
    - address - address + address - Address @@ -11607,7 +11639,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "orderDigestList": [OrderDigestType]
     }
     
    @@ -11672,7 +11704,7 @@
    Fields
    Order price. - sellerAgentAddress - address! + sellerAgentAddress - Address! Address of seller agent. @@ -11699,11 +11731,11 @@
    Example
    "combatPoint": 123, "expiredBlockIndex": 123, "itemCount": 123, - "itemId": 123, + "itemId": 987, "level": 123, "orderId": Guid, - "price": "xyz789", - "sellerAgentAddress": address, + "price": "abc123", + "sellerAgentAddress": Address, "startedBlockIndex": 987, "tradableId": Guid } @@ -11745,7 +11777,7 @@
    Fields
    Example
    -
    {"state": ["abc123"]}
    +                    
    {"state": ["xyz789"]}
     
    @@ -11930,7 +11962,7 @@
    Fields
    - address - address! + address - Address! @@ -11944,7 +11976,28 @@
    Fields
    Example
    -
    {"address": address}
    +                    
    {"address": Address}
    +
    + + +
    +
    +
    +
    +
    +
    + Types +
    +

    PublicKey

    +
    +
    +
    +
    +
    +
    Example
    + + +
    PublicKey
     
    @@ -11970,7 +12023,7 @@
    Fields
    - address - address! + address - Address! An address derived from the public-key. @@ -12003,7 +12056,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "hex": ByteString
     }
     
    @@ -12045,7 +12098,7 @@
    Fields
    Example
    -
    {"completedQuestIds": [987]}
    +                    
    {"completedQuestIds": [123]}
     
    @@ -12071,7 +12124,7 @@
    Fields
    - avatarAddress - address! + avatarAddress - Address! address of avatar state. @@ -12150,19 +12203,19 @@
    Example
    {
    -  "avatarAddress": address,
    -  "avatarName": "abc123",
    +  "avatarAddress": Address,
    +  "avatarName": "xyz789",
       "claimedBlockIndex": {},
    -  "cp": 123,
    -  "highScore": 123,
    -  "iconId": 123,
    +  "cp": 987,
    +  "highScore": 987,
    +  "iconId": 987,
       "latestBossLevel": 987,
       "latestRewardRank": 987,
       "level": 987,
       "purchaseCount": 987,
       "refillBlockIndex": {},
    -  "remainChallengeCount": 987,
    -  "totalChallengeCount": 123,
    +  "remainChallengeCount": 123,
    +  "totalChallengeCount": 987,
       "totalScore": 987
     }
     
    @@ -12190,7 +12243,7 @@
    Fields
    - agentAddress - address! + agentAddress - Address! Address of agent. @@ -12200,7 +12253,7 @@
    Fields
    Equipped Armor ID from EquipmentItemSheet. - avatarAddress - address! + avatarAddress - Address! Address of avatar. @@ -12239,12 +12292,12 @@
    Example
    {
    -  "agentAddress": address,
    +  "agentAddress": Address,
       "armorId": 987,
    -  "avatarAddress": address,
    -  "avatarName": "xyz789",
    +  "avatarAddress": Address,
    +  "avatarName": "abc123",
       "exp": {},
    -  "level": 987,
    +  "level": 123,
       "stageClearedBlockIndex": {},
       "updatedAt": {}
     }
    @@ -12273,7 +12326,7 @@ 
    Fields
    - address - address! + address - Address! Address of RankingMapState. @@ -12297,7 +12350,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "capacity": 987,
       "rankingInfos": [RankingInfoType]
     }
    @@ -12334,7 +12387,7 @@ 
    Fields
    - recipient - address! + recipient - Address! @@ -12350,7 +12403,7 @@
    Example
    {
       "amount": FungibleAssetValueInputType,
    -  "recipient": address
    +  "recipient": Address
     }
     
    @@ -12377,12 +12430,12 @@
    Fields
    - clients - [address]! + clients - [Address]! List of address connected to this node. - clientsByDevice - [address!]! + clientsByDevice - [Address!]! clients connected to this node by device. @@ -12468,11 +12521,11 @@
    Example
    {
    -  "clients": [address],
    -  "clientsByDevice": [address],
    +  "clients": [Address],
    +  "clientsByDevice": [Address],
       "clientsByIps": [MultiAccountInfo],
       "clientsCountByIps": 123,
    -  "totalCount": 987,
    +  "totalCount": 123,
       "totalCountByDevice": 123
     }
     
    @@ -12522,7 +12575,7 @@
    Fields
    Example
    -
    {"runeId": 987, "slotIndex": 987}
    +                    
    {"runeId": 123, "slotIndex": 987}
     
    @@ -12566,7 +12619,7 @@
    Fields
    Example
    -
    {"level": 987, "runeId": 987}
    +                    
    {"level": 123, "runeId": 987}
     
    @@ -12592,7 +12645,7 @@
    Fields
    - address - address! + address - Address! Address of sharded shop. @@ -12630,7 +12683,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "orderDigestList": [OrderDigestType]
     }
     
    @@ -12678,12 +12731,12 @@
    Fields
    Guid of product registered. - sellerAgentAddress - address! + sellerAgentAddress - Address! Address of seller agent. - sellerAvatarAddress - address! + sellerAvatarAddress - Address! Address of seller avatar. @@ -12701,8 +12754,8 @@
    Example
    "itemUsable": ItemUsableType, "price": "abc123", "productId": Guid, - "sellerAgentAddress": address, - "sellerAvatarAddress": address + "sellerAgentAddress": Address, + "sellerAvatarAddress": Address }
    @@ -12729,7 +12782,7 @@
    Fields
    - address - address! + address - Address! Address of shop. @@ -12772,7 +12825,7 @@
    Example
    {
    -  "address": address,
    +  "address": Address,
       "products": [ShopItemType]
     }
     
    @@ -12834,7 +12887,7 @@
    Example
    {
       "currencyEnum": "CRYSTAL",
       "currencyTicker": "xyz789",
    -  "value": "xyz789"
    +  "value": "abc123"
     }
     
    @@ -12911,7 +12964,7 @@
    Example
    "id": 123, "power": 987, "referencedStatType": "ARMOR_PENETRATION", - "statPowerRatio": 123 + "statPowerRatio": 987 }
    @@ -13010,7 +13063,7 @@
    Fields
    Example
    -
    {"count": 123, "itemId": 987}
    +                    
    {"count": 987, "itemId": 987}
     
    @@ -13147,7 +13200,7 @@
    Example
    {
       "bonusRewards": [StakeRegularFixedRewardInfoType],
    -  "level": 987,
    +  "level": 123,
       "requiredGold": {},
       "rewards": [StakeRegularRewardInfoType]
     }
    @@ -13277,7 +13330,7 @@ 
    Fields
    - address - address! + address - Address! The address of current state. @@ -13323,10 +13376,10 @@
    Example
    {
       "achievements": StakeAchievementsType,
    -  "address": address,
    +  "address": Address,
       "cancellableBlockIndex": {},
       "claimableBlockIndex": {},
    -  "deposit": "abc123",
    +  "deposit": "xyz789",
       "receivedBlockIndex": {},
       "stakeRewards": StakeRewardsType,
       "startedBlockIndex": {}
    @@ -13484,7 +13537,7 @@ 
    Fields
    Arguments
    -
    address - address! +
    address - Address!

    Address of agent.

    @@ -13503,7 +13556,7 @@
    address
    Arguments
    -
    avatarAddresses - [address!]! +
    avatarAddresses - [Address!]!

    List of avatar address to get arena information

    @@ -13533,7 +13586,7 @@
    round Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!
    @@ -13555,7 +13608,7 @@
    filterBounds Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -13574,7 +13627,7 @@
    avatarAddress<
    Arguments
    -
    addresses - [address!]! +
    addresses - [Address!]!

    Addresses of avatars to query.

    @@ -13593,7 +13646,7 @@
    addresses Arguments
    -
    address - address! +
    address - Address!
    @@ -13640,7 +13693,7 @@
    tableName Arguments
    -
    agentAddr - address! +
    agentAddr - Address!

    Agent address to get balances and fungible items in garages

    @@ -13685,7 +13738,7 @@
    fungibleItemId
    Arguments
    -
    agentAddress - address! +
    agentAddress - Address!

    Address of agent.

    @@ -13705,7 +13758,7 @@
    agentAddress Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!
    @@ -13724,7 +13777,7 @@
    avatarAddress<
    Arguments
    -
    agentAddress - address! +
    agentAddress - Address!
    @@ -13755,7 +13808,7 @@
    prev - raiderList - [address!] + raiderList - [Address!] raider address list by world boss season. @@ -13765,7 +13818,7 @@
    prev Arguments
    -
    raiderListAddress - address! +
    raiderListAddress - Address!
    @@ -13783,7 +13836,7 @@
    raiderListAddr
    Arguments
    -
    raiderAddress - address! +
    raiderAddress - Address!

    address of world boss season.

    @@ -13858,7 +13911,7 @@
    nonce Arguments
    -
    address - address! +
    address - Address!

    Address of agent who staked.

    @@ -13877,7 +13930,7 @@
    address
    Arguments
    -
    addresses - [address]! +
    addresses - [Address]!

    Addresses of agent who staked.

    @@ -13896,7 +13949,7 @@
    addresses Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -13915,7 +13968,7 @@
    avatarAddress<
    Arguments
    -
    avatarAddress - address! +
    avatarAddress - Address!

    Address of avatar.

    @@ -13953,7 +14006,7 @@
    index Arguments
    -
    worldBossKillRewardRecordAddress - address! +
    worldBossKillRewardRecordAddress - Address!
    @@ -13971,7 +14024,7 @@
    worldBossKillR
    Arguments
    -
    bossAddress - address! +
    bossAddress - Address!
    @@ -13994,7 +14047,7 @@
    Example
    "avatar": AvatarStateType, "avatars": [AvatarStateType], "balance": FungibleAssetValueWithCurrencyType, - "cachedSheet": "xyz789", + "cachedSheet": "abc123", "crystalMonsterCollectionMultiplierSheet": CrystalMonsterCollectionMultiplierSheetType, "garages": GaragesType, "latestStakeRewards": StakeRewardsType, @@ -14002,8 +14055,8 @@
    Example
    "monsterCollectionState": MonsterCollectionStateType, "orderDigestList": OrderDigestListStateType, "pledge": MeadPledgeType, - "raidId": 123, - "raiderList": [address], + "raidId": 987, + "raiderList": [Address], "raiderState": RaiderStateType, "rankingMap": RankingMapStateType, "shardedShop": ShardedShopStateV2Type, @@ -14011,7 +14064,7 @@
    Example
    "stakeRewards": StakeRewardsType, "stakeState": StakeStateType, "stakeStates": [StakeStateType], - "unlockedRecipeIds": [987], + "unlockedRecipeIds": [123], "unlockedWorldIds": [987], "weeklyArena": WeeklyArenaStateType, "worldBossKillRewardRecord": WorldBossKillRewardRecordType, @@ -14086,7 +14139,7 @@
    Fields
    Example
    -
    {"aTK": 123, "cRI": 987, "dEF": 123, "hIT": 987, "hP": 123, "sPD": 987}
    +                    
    {"aTK": 987, "cRI": 987, "dEF": 123, "hIT": 987, "hP": 123, "sPD": 987}
     
    @@ -14193,7 +14246,7 @@
    Fields
    The block including the transaction. - id - txId! + id - TxId! A unique identifier derived from this transaction content. @@ -14218,7 +14271,7 @@
    Fields
    A digital signature of the content of this transaction. - signer - address! + signer - Address! An address of the account who signed this transaction. @@ -14228,7 +14281,7 @@
    Fields
    The time this transaction was created and signed. - updatedAddresses - [address!]! + updatedAddresses - [Address!]! Addresses whose states were affected by Actions. @@ -14244,14 +14297,14 @@
    Example
    {
       "actions": [Action],
       "blockRef": Block,
    -  "id": txId,
    +  "id": TxId,
       "nonce": {},
       "publicKey": ByteString,
    -  "serializedPayload": "xyz789",
    +  "serializedPayload": "abc123",
       "signature": ByteString,
    -  "signer": address,
    +  "signer": Address,
       "timestamp": DateTimeOffset,
    -  "updatedAddresses": [address]
    +  "updatedAddresses": [Address]
     }
     
    @@ -14396,7 +14449,7 @@
    startingBlockI
    Arguments
    -
    address - address! +
    address - Address!

    Target address to query

    @@ -14430,7 +14483,7 @@
    unsignedTransa - transactionResult - TxResultType! + transactionResult - TxResult! @@ -14450,7 +14503,7 @@
    txId - transactionResults - [TxResultType]! + transactionResults - [TxResult]! @@ -14514,13 +14567,13 @@
    Example
    {
       "attachSignature": "xyz789",
    -  "createUnsignedTx": "abc123",
    +  "createUnsignedTx": "xyz789",
       "getTx": TransactionType,
       "ncTransactions": [TransactionType],
       "nextTxNonce": {},
       "signTransaction": ByteString,
    -  "transactionResult": TxResultType,
    -  "transactionResults": [TxResultType],
    +  "transactionResult": TxResult,
    +  "transactionResults": [TxResult],
       "unsignedTransaction": ByteString
     }
     
    @@ -14583,7 +14636,7 @@
    unsignedTransa
    Arguments
    -
    address - address! +
    address - Address!

    Address of the account to get the next tx nonce.

    @@ -14615,7 +14668,7 @@
    offset<
    -
    signer - address +
    signer - Address
    @@ -14634,7 +14687,7 @@
    signer<
    Arguments
    -
    id - txId! +
    id - TxId!
    @@ -14642,7 +14695,7 @@
    id - transactionResult - TxResultType! + transactionResult - TxResult! @@ -14653,7 +14706,7 @@
    id Arguments
    -
    txId - txId! +
    txId - TxId!

    transaction id.

    @@ -14685,7 +14738,7 @@
    offset<
    -
    signer - address +
    signer - Address
    @@ -14732,11 +14785,11 @@
    Example
    {
    -  "bindSignature": "xyz789",
    +  "bindSignature": "abc123",
       "nextNonce": {},
       "stagedTransactions": [Transaction],
       "transaction": Transaction,
    -  "transactionResult": TxResultType,
    +  "transactionResult": TxResult,
       "transactions": [Transaction],
       "unsignedTransaction": ByteString
     }
    @@ -14795,7 +14848,7 @@ 
    Fields
    A digital signature of the content of this transaction. - signer - address! + signer - Address! An address of the account who signed this transaction. @@ -14805,7 +14858,7 @@
    Fields
    The time this transaction was created and signed. - updatedAddresses - [address]! + updatedAddresses - [Address]! Addresses whose states were affected by Actions. @@ -14823,11 +14876,11 @@
    Example
    "id": TxId, "nonce": {}, "publicKey": PublicKeyType, - "serializedPayload": "xyz789", + "serializedPayload": "abc123", "signature": ByteString, - "signer": address, - "timestamp": "abc123", - "updatedAddresses": [address] + "signer": Address, + "timestamp": "xyz789", + "updatedAddresses": [Address] }
    @@ -14872,13 +14925,13 @@
    Fields
    - recipient - address! + recipient - Address! - sender - address! + sender - Address! @@ -14899,11 +14952,11 @@
    Example
    {
    -  "amount": "abc123",
    +  "amount": "xyz789",
       "blockHash": ByteString,
    -  "memo": "abc123",
    -  "recipient": address,
    -  "sender": address,
    +  "memo": "xyz789",
    +  "recipient": Address,
    +  "sender": Address,
       "txId": ByteString
     }
     
    @@ -14934,11 +14987,11 @@
    Example
    -
    +
    -

    TxResultType

    +

    TxResult

    @@ -14991,7 +15044,7 @@
    Example
    {
    -  "blockHash": "abc123",
    +  "blockHash": "xyz789",
       "blockIndex": {},
       "exceptionNames": ["xyz789"],
       "inputState": HashDigestSHA256,
    @@ -15098,7 +15151,7 @@ 
    Fields
    - txResult - TxResultType + txResult - TxResult @@ -15114,7 +15167,7 @@
    Example
    {
       "transaction": TransactionType,
    -  "txResult": TxResultType
    +  "txResult": TxResult
     }
     
    @@ -15209,7 +15262,7 @@
    hexExample
    -
    {"metadata": false, "privateKey": true, "publicKey": false}
    +                    
    {"metadata": true, "privateKey": false, "publicKey": false}
     
    @@ -15244,7 +15297,7 @@
    Fields
    Gets the voting power of the validator. - publicKey - publicKey! + publicKey - PublicKey! The public key of the validator. @@ -15257,7 +15310,7 @@
    Fields
    Example
    -
    {"power": {}, "publicKey": publicKey}
    +                    
    {"power": {}, "publicKey": PublicKey}
     
    @@ -15313,7 +15366,7 @@
    Fields
    The time this vote was created and signed. - validatorPublicKey - publicKey! + validatorPublicKey - PublicKey! Public key of the validator which is subject of the vote. @@ -15330,10 +15383,10 @@
    Example
    "blockHash": "abc123", "flag": VoteFlag, "height": {}, - "round": 123, + "round": 987, "signature": ByteString, "timestamp": DateTimeOffset, - "validatorPublicKey": publicKey + "validatorPublicKey": PublicKey }
    @@ -15381,7 +15434,7 @@
    Fields
    - address - address! + address - Address! @@ -15408,8 +15461,8 @@
    Example
    {
    -  "address": address,
    -  "ended": true,
    +  "address": Address,
    +  "ended": false,
       "orderedArenaInfos": [ArenaInfoType]
     }
     
    @@ -15456,7 +15509,7 @@
    Fields
    Example
    -
    {"bossLevel": 123, "claimed": true}
    +                    
    {"bossLevel": 987, "claimed": false}
     
    @@ -15559,7 +15612,7 @@
    Example
    "currentHp": {}, "endedBlockIndex": {}, "id": 123, - "level": 987, + "level": 123, "startedBlockIndex": {} }
    @@ -15653,7 +15706,7 @@
    Example
    {
    -  "isStageCleared": true,
    +  "isStageCleared": false,
       "isWorldUnlocked": true,
       "world": WorldType
     }
    @@ -15747,98 +15800,14 @@ 
    Example
    {
       "id": 987,
       "isStageCleared": false,
    -  "isUnlocked": false,
    -  "name": "xyz789",
    +  "isUnlocked": true,
    +  "name": "abc123",
       "stageBegin": 987,
       "stageClearedBlockIndex": {},
    -  "stageClearedId": 123,
    +  "stageClearedId": 987,
       "stageEnd": 987,
       "unlockedBlockIndex": {}
     }
    -
    - - -
    -
    -
    -
    -
    -
    - Types -
    -

    address

    -
    -
    -
    -
    -
    -
    Example
    - - -
    address
    -
    - - -
    -
    -
    -
    -
    -
    - Types -
    -

    blockHash

    -
    -
    -
    -
    -
    -
    Example
    - - -
    blockHash
    -
    - - -
    -
    -
    -
    -
    -
    - Types -
    -

    publicKey

    -
    -
    -
    -
    -
    -
    Example
    - - -
    publicKey
    -
    - - -
    -
    -
    -
    -
    -
    - Types -
    -

    txId

    -
    -
    -
    -
    -
    -
    Example
    - - -
    txId
     
    diff --git a/schema.graphql b/schema.graphql index ff3a0cf74..913a3e49b 100644 --- a/schema.graphql +++ b/schema.graphql @@ -11,26 +11,26 @@ type AccountState { """Balance at given address and currency hash pair.""" balance( """The address to look up.""" - address: address! + address: Address! """The currency hash to look up.""" currencyHash: HashDigestSHA1! - ): BencodexValue + ): IValue """Balances at given addresses and currency hash pair.""" balances( """The list of addresses to look up.""" - addresses: [address!]! + addresses: [Address!]! """The currency hash to look up.""" currencyHash: HashDigestSHA1! - ): [BencodexValue]! + ): [IValue]! """The state at given address.""" state( """The address to look up.""" - address: address! - ): BencodexValue + address: Address! + ): IValue """The state root hash associated with this account state.""" stateRootHash: HashDigestSHA256! @@ -38,17 +38,17 @@ type AccountState { """The states at given addresses.""" states( """The list of addresses to look up.""" - addresses: [address!]! - ): [BencodexValue]! + addresses: [Address!]! + ): [IValue]! """Total supply in circulation, if recorded, for given currency hash.""" totalSupply( """The currency hash to look up.""" currencyHash: HashDigestSHA1! - ): BencodexValue + ): IValue """The validator set.""" - validatorSet: BencodexValue + validatorSet: IValue } type Action { @@ -66,19 +66,19 @@ type ActionMutation { """Charge Action Points using Material.""" chargeActionPoint( """Avatar to use potion.""" - avatarAddress: address! + avatarAddress: Address! ): TxId! """Get monster collection reward.""" claimMonsterCollectionReward( """Address of avatar for get reward.""" - avatarAddress: address! + avatarAddress: Address! ): TxId! """Combine new Consumable.""" combinationConsumable( """Avatar address to combine consumable.""" - avatarAddress: address! + avatarAddress: Address! """ConsumableRecipe ID from ConsumableRecipeSheet.""" recipeId: Int! @@ -90,7 +90,7 @@ type ActionMutation { """Combine new equipment.""" combinationEquipment( """Avatar address to create equipment.""" - avatarAddress: address! + avatarAddress: Address! """EquipmentRecipe ID from EquipmentRecipeSheet.""" recipeId: Int! @@ -126,13 +126,13 @@ type ActionMutation { """Get daily reward.""" dailyReward( """Avatar address to receive reward.""" - avatarAddress: address! + avatarAddress: Address! ): TxId! """Start stage to get material.""" hackAndSlash( """Avatar address.""" - avatarAddress: address! + avatarAddress: Address! """List of consumable id for use.""" consumableIds: [Guid] @@ -156,7 +156,7 @@ type ActionMutation { """Upgrade equipment.""" itemEnhancement( """Avatar address to upgrade equipment.""" - avatarAddress: address! + avatarAddress: Address! """Equipment Guid for upgrade.""" itemId: Guid! @@ -180,10 +180,10 @@ type ActionQuery { """Activation code that you've get.""" activationCode: String! ): ByteString! @deprecated(reason: "Since NCIP-15, it doesn't care account activation.") - approvePledge(patronAddress: address!): ByteString! + approvePledge(patronAddress: Address!): ByteString! auraSummon( """Avatar address to get summoned items""" - avatarAddress: address! + avatarAddress: Address! """Summon group id""" groupId: Int! @@ -200,19 +200,19 @@ type ActionQuery { ): ByteString! claimRaidReward( """address of avatar state to receive reward.""" - avatarAddress: address! + avatarAddress: Address! ): ByteString! claimStakeReward( """The avatar address to receive staking rewards.""" - avatarAddress: address + avatarAddress: Address ): ByteString claimWorldBossKillReward( """address of avatar state to receive reward.""" - avatarAddress: address! + avatarAddress: Address! ): ByteString! combinationConsumable( """Avatar address to combine consumable""" - avatarAddress: address! + avatarAddress: Address! """Recipe ID to combine consumable""" recipeId: Int! @@ -222,7 +222,7 @@ type ActionQuery { ): ByteString! combinationEquipment( """Avatar address to combine equipment""" - avatarAddress: address! + avatarAddress: Address! """Pay crystal co combine equipment?""" payByCrystal: Boolean @@ -261,10 +261,10 @@ type ActionQuery { """tail index of avatar.""" tail: Int = 0 ): ByteString! - createPledge(agentAddresses: [address!]!, mead: Int = 4, patronAddress: address!): ByteString! + createPledge(agentAddresses: [Address!]!, mead: Int = 4, patronAddress: Address!): ByteString! dailyReward( """Avatar address to get daily reward""" - avatarAddress: address! + avatarAddress: Address! ): ByteString! deliverToOthersGarages( """Array of currency ticket and quantity to deliver.""" @@ -277,12 +277,12 @@ type ActionQuery { memo: String """Recipient agent address""" - recipientAgentAddr: address! + recipientAgentAddr: Address! ): ByteString! - endPledge(agentAddress: address!): ByteString! + endPledge(agentAddress: Address!): ByteString! grinding( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """Flag to Charge Action Point.""" chargeAp: Boolean @@ -292,7 +292,7 @@ type ActionQuery { ): ByteString hackAndSlash( """Avatar address.""" - avatarAddress: address! + avatarAddress: Address! """List of consumable id for use.""" consumableIds: [Guid] @@ -323,7 +323,7 @@ type ActionQuery { apStoneCount: Int """Avatar address.""" - avatarAddress: address! + avatarAddress: Address! """List of costume id for equip.""" costumeIds: [Guid] @@ -342,7 +342,7 @@ type ActionQuery { ): ByteString! itemEnhancement( """Avatar address to enhance item""" - avatarAddress: address! + avatarAddress: Address! """Target item ID to enhance""" itemId: Guid! @@ -361,14 +361,14 @@ type ActionQuery { fungibleIdAndCounts: [FungibleIdAndCountInput!] """Inventory Address""" - inventoryAddr: address + inventoryAddr: Address """Memo""" memo: String ): ByteString! migrateMonsterCollection( """The avatar address to receive monster collection rewards.""" - avatarAddress: address + avatarAddress: Address ): ByteString! patchTableSheet( """table data.""" @@ -382,11 +382,11 @@ type ActionQuery { assets: [FungibleAssetValueInputType!]! """address of reward pool for charge reward.""" - rewardPoolAddress: address! + rewardPoolAddress: Address! ): ByteString! raid( """address of avatar state.""" - avatarAddress: address! + avatarAddress: Address! """list of costume id.""" costumeIds: [Guid] = [] @@ -405,15 +405,15 @@ type ActionQuery { ): ByteString! rapidCombination( """Avatar address to execute rapid combination""" - avatarAddress: address! + avatarAddress: Address! """Slot index to execute rapid""" slotIndex: Int! ): ByteString! - requestPledge(agentAddress: address!, mead: Int = 4): ByteString! + requestPledge(agentAddress: Address!, mead: Int = 4): ByteString! runeEnhancement( """The avatar address to enhance rune.""" - avatarAddress: address! + avatarAddress: Address! """Rune ID to enhance.""" runeId: Int! @@ -423,7 +423,7 @@ type ActionQuery { ): ByteString! runeSummon( """Avatar address to get summoned items""" - avatarAddress: address! + avatarAddress: Address! """Summon group id""" groupId: Int! @@ -449,10 +449,10 @@ type ActionQuery { rawCurrency: CurrencyInput """Address of recipient.""" - recipient: address! + recipient: Address! """Address of sender.""" - sender: address! + sender: Address! ): ByteString transferAssets( """A 80-max length string to note.""" @@ -462,7 +462,7 @@ type ActionQuery { recipients: [RecipientsInputType!]! """Address of sender.""" - sender: address! + sender: Address! ): ByteString! unloadFromMyGarages( """Array of balance address and currency ticker and quantity to send.""" @@ -475,18 +475,18 @@ type ActionQuery { memo: String """Recipient avatar address""" - recipientAvatarAddr: address! + recipientAvatarAddr: Address! ): ByteString! unlockEquipmentRecipe( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """List of EquipmentRecipeSheet row ids to unlock.""" recipeIds: [Int]! ): ByteString unlockWorld( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """List of WorldUnlockSheet row world_id_to_unlock.""" worldIds: [Int]! @@ -498,10 +498,10 @@ type ActionTxQuery { """Activation code that you've get.""" activationCode: String! ): ByteString! @deprecated(reason: "Since NCIP-15, it doesn't care account activation.") - approvePledge(patronAddress: address!): ByteString! + approvePledge(patronAddress: Address!): ByteString! auraSummon( """Avatar address to get summoned items""" - avatarAddress: address! + avatarAddress: Address! """Summon group id""" groupId: Int! @@ -518,19 +518,19 @@ type ActionTxQuery { ): ByteString! claimRaidReward( """address of avatar state to receive reward.""" - avatarAddress: address! + avatarAddress: Address! ): ByteString! claimStakeReward( """The avatar address to receive staking rewards.""" - avatarAddress: address + avatarAddress: Address ): ByteString claimWorldBossKillReward( """address of avatar state to receive reward.""" - avatarAddress: address! + avatarAddress: Address! ): ByteString! combinationConsumable( """Avatar address to combine consumable""" - avatarAddress: address! + avatarAddress: Address! """Recipe ID to combine consumable""" recipeId: Int! @@ -540,7 +540,7 @@ type ActionTxQuery { ): ByteString! combinationEquipment( """Avatar address to combine equipment""" - avatarAddress: address! + avatarAddress: Address! """Pay crystal co combine equipment?""" payByCrystal: Boolean @@ -579,10 +579,10 @@ type ActionTxQuery { """tail index of avatar.""" tail: Int = 0 ): ByteString! - createPledge(agentAddresses: [address!]!, mead: Int = 4, patronAddress: address!): ByteString! + createPledge(agentAddresses: [Address!]!, mead: Int = 4, patronAddress: Address!): ByteString! dailyReward( """Avatar address to get daily reward""" - avatarAddress: address! + avatarAddress: Address! ): ByteString! deliverToOthersGarages( """Array of currency ticket and quantity to deliver.""" @@ -595,12 +595,12 @@ type ActionTxQuery { memo: String """Recipient agent address""" - recipientAgentAddr: address! + recipientAgentAddr: Address! ): ByteString! - endPledge(agentAddress: address!): ByteString! + endPledge(agentAddress: Address!): ByteString! grinding( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """Flag to Charge Action Point.""" chargeAp: Boolean @@ -610,7 +610,7 @@ type ActionTxQuery { ): ByteString hackAndSlash( """Avatar address.""" - avatarAddress: address! + avatarAddress: Address! """List of consumable id for use.""" consumableIds: [Guid] @@ -641,7 +641,7 @@ type ActionTxQuery { apStoneCount: Int """Avatar address.""" - avatarAddress: address! + avatarAddress: Address! """List of costume id for equip.""" costumeIds: [Guid] @@ -660,7 +660,7 @@ type ActionTxQuery { ): ByteString! itemEnhancement( """Avatar address to enhance item""" - avatarAddress: address! + avatarAddress: Address! """Target item ID to enhance""" itemId: Guid! @@ -679,14 +679,14 @@ type ActionTxQuery { fungibleIdAndCounts: [FungibleIdAndCountInput!] """Inventory Address""" - inventoryAddr: address + inventoryAddr: Address """Memo""" memo: String ): ByteString! migrateMonsterCollection( """The avatar address to receive monster collection rewards.""" - avatarAddress: address + avatarAddress: Address ): ByteString! patchTableSheet( """table data.""" @@ -700,11 +700,11 @@ type ActionTxQuery { assets: [FungibleAssetValueInputType!]! """address of reward pool for charge reward.""" - rewardPoolAddress: address! + rewardPoolAddress: Address! ): ByteString! raid( """address of avatar state.""" - avatarAddress: address! + avatarAddress: Address! """list of costume id.""" costumeIds: [Guid] = [] @@ -723,15 +723,15 @@ type ActionTxQuery { ): ByteString! rapidCombination( """Avatar address to execute rapid combination""" - avatarAddress: address! + avatarAddress: Address! """Slot index to execute rapid""" slotIndex: Int! ): ByteString! - requestPledge(agentAddress: address!, mead: Int = 4): ByteString! + requestPledge(agentAddress: Address!, mead: Int = 4): ByteString! runeEnhancement( """The avatar address to enhance rune.""" - avatarAddress: address! + avatarAddress: Address! """Rune ID to enhance.""" runeId: Int! @@ -741,7 +741,7 @@ type ActionTxQuery { ): ByteString! runeSummon( """Avatar address to get summoned items""" - avatarAddress: address! + avatarAddress: Address! """Summon group id""" groupId: Int! @@ -767,10 +767,10 @@ type ActionTxQuery { rawCurrency: CurrencyInput """Address of recipient.""" - recipient: address! + recipient: Address! """Address of sender.""" - sender: address! + sender: Address! ): ByteString transferAssets( """A 80-max length string to note.""" @@ -780,7 +780,7 @@ type ActionTxQuery { recipients: [RecipientsInputType!]! """Address of sender.""" - sender: address! + sender: Address! ): ByteString! unloadFromMyGarages( """Array of balance address and currency ticker and quantity to send.""" @@ -793,18 +793,18 @@ type ActionTxQuery { memo: String """Recipient avatar address""" - recipientAvatarAddr: address! + recipientAvatarAddr: Address! ): ByteString! unlockEquipmentRecipe( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """List of EquipmentRecipeSheet row ids to unlock.""" recipeIds: [Int]! ): ByteString unlockWorld( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """List of WorldUnlockSheet row world_id_to_unlock.""" worldIds: [Int]! @@ -817,9 +817,11 @@ type ActivationStatusMutation { type ActivationStatusQuery { activated: Boolean! @deprecated(reason: "Since NCIP-15, it doesn't care account activation.") - addressActivated(address: address!): Boolean! @deprecated(reason: "Since NCIP-15, it doesn't care account activation.") + addressActivated(address: Address!): Boolean! @deprecated(reason: "Since NCIP-15, it doesn't care account activation.") } +scalar Address + type AddressQuery { """currency minters address.""" currencyMintersAddress( @@ -827,48 +829,48 @@ type AddressQuery { A currency type. see also: https://github.com/planetarium/NineChronicles.Headless/blob/main/NineChronicles.Headless/GraphTypes/CurrencyEnumType.cs """ currency: CurrencyEnum! - ): [address!] + ): [Address!] """pledge information address.""" pledgeAddress( """address of agent state.""" - agentAddress: address! - ): address! + agentAddress: Address! + ): Address! """user information address by world boss season.""" raiderAddress( """address of avatar state.""" - avatarAddress: address! + avatarAddress: Address! """world boss season id.""" raidId: Int! - ): address! + ): Address! """raider list address by world boss season.""" raiderListAddress( """world boss season id.""" raidId: Int! - ): address! + ): Address! """boss information address by world boss season.""" worldBossAddress( """world boss season id.""" raidId: Int! - ): address! + ): Address! """user boss kill reward record address by world boss season.""" worldBossKillRewardRecordAddress( """address of avatar state.""" - avatarAddress: address! + avatarAddress: Address! """world boss season id.""" raidId: Int! - ): address! + ): Address! } type AgentStateType { """Address of agent.""" - address: address! + address: Address! """List of avatar.""" avatarStates: [AvatarStateType!] @@ -893,23 +895,23 @@ type AgentStateType { type AppProtocolVersionType { extra: ByteString signature: ByteString! - signer: address! + signer: Address! version: Int! } type ArenaInfoType { active: Boolean! - agentAddress: address! + agentAddress: Address! arenaRecord: ArenaRecordType! - avatarAddress: address! + avatarAddress: Address! avatarName: String! dailyChallengeCount: Int! score: Int! } type ArenaInformationType { - address: address! - avatarAddress: address! + address: Address! + avatarAddress: Address! lose: Int! purchasedTicketCount: Int! score: Int! @@ -920,7 +922,7 @@ type ArenaInformationType { type ArenaParticipantType { """Address of avatar.""" - avatarAddr: address! + avatarAddr: Address! """Cp of avatar.""" cp: Int! @@ -958,10 +960,10 @@ type AvatarStateType { actionPoint: Int! """Address of avatar.""" - address: address! + address: Address! """Address of agent.""" - agentAddress: address! + agentAddress: Address! """Block index at the latest executed action.""" blockIndex: Int! @@ -970,7 +972,7 @@ type AvatarStateType { characterId: Int! """Address list of combination slot.""" - combinationSlotAddresses: [address!]! + combinationSlotAddresses: [Address!]! """Combination slots.""" combinationSlots: [CombinationSlotStateType!]! @@ -997,7 +999,7 @@ type AvatarStateType { inventory: InventoryType! """Avatar inventory address.""" - inventoryAddress: address! + inventoryAddress: Address! """List of acquired item ID.""" itemMap: CollectionMapType! @@ -1038,27 +1040,13 @@ type AvatarStateType { input BalanceInput { """Balance Address.""" - balanceAddr: address + balanceAddr: Address """Fungible asset value ticker and amount.""" value: SimplifyFungibleAssetValueInput } -type BencodexValue { - """A base64 representation of the bencodex value encoded to byte array.""" - base64: String! - - """ - A hexadecimal representation of the bencodex value encoded as byte array. - """ - hex: String! - - """A human readable representation of the bencodex value.""" - inspection: String! - - """A JSON representation of the bencodex value""" - json: String! -} +scalar BencodexValue scalar BigInt @@ -1067,7 +1055,7 @@ type Block { difficulty: Long! @deprecated(reason: "Block does not have Difficulty field in PBFT.") """A block's hash.""" - hash: blockHash! + hash: BlockHash! """The height of the block.""" index: Long! @@ -1076,7 +1064,7 @@ type Block { lastCommit: BlockCommit """The address of the miner.""" - miner: address! + miner: Address! """The proof-of-work nonce which satisfies the required difficulty.""" nonce: ByteString! @deprecated(reason: "Block does not have Nonce field in PBFT.") @@ -1090,7 +1078,7 @@ type Block { previousBlock: Block """The public key of the Miner.""" - publicKey: publicKey + publicKey: PublicKey """ The digital signature of the whole block content (except for hash, which is derived from the signature and other contents) @@ -1114,7 +1102,7 @@ type Block { type BlockCommit { """The hash of the block which contains block commit.""" - blockHash: blockHash! + blockHash: BlockHash! """The height of the block commit.""" height: Long! @@ -1126,16 +1114,18 @@ type BlockCommit { votes: [Vote!]! } +scalar BlockHash + type BlockHeader { hash: String! id: ID! index: Int! - miner: address + miner: Address } type BlockQuery { - block(hash: blockHash, index: Long): Block - blocks(desc: Boolean = false, excludeEmptyTxs: Boolean = false, limit: Int, miner: address, offset: Int = 0): [Block!]! + block(hash: BlockHash, index: Long): Block + blocks(desc: Boolean = false, excludeEmptyTxs: Boolean = false, limit: Int, miner: Address, offset: Int = 0): [Block!]! } type BoundPeer { @@ -1146,7 +1136,7 @@ type BoundPeer { publicIpAddress: String """The public key of the peer.""" - publicKey: publicKey! + publicKey: PublicKey! } scalar Byte @@ -1154,7 +1144,7 @@ scalar Byte scalar ByteString input ClaimDataInputType { - avatarAddress: address! + avatarAddress: Address! fungibleAssetValues: [FungibleAssetValueInputType!]! } @@ -1165,7 +1155,7 @@ type CollectionMapType { type CombinationSlotStateType { """Address of combination slot.""" - address: address! + address: Address! """Pet id used in equipment""" petId: Int @@ -1227,7 +1217,7 @@ type CostumeType { type CraftQuery { eventConsumableItemCrafts( """Avatar address to craft event item""" - avatarAddress: address! + avatarAddress: Address! """Recipe ID of event item to craft""" eventConsumableItemRecipeId: Int! @@ -1240,7 +1230,7 @@ type CraftQuery { ): ByteString! eventMaterialItemCrafts( """Avatar address to craft item""" - avatarAddress: address! + avatarAddress: Address! """Recipe ID of event item to craft""" eventMaterialItemRecipeId: Int! @@ -1277,7 +1267,7 @@ type Currency { """ The addresses who can mint this currency. If this is null anyone can mint the currency. On the other hand, unlike null, an empty set means no one can mint the currency. """ - minters: [address!] + minters: [Address!] """The ticker symbol, e.g., USD.""" ticker: String! @@ -1303,7 +1293,7 @@ input CurrencyInput { """ The addresses who can mint this currency. If this is null anyone can mint the currency. On the other hand, unlike null, an empty set means no one can mint the currency. """ - minters: [address!] + minters: [Address!] """The ticker symbol, e.g., USD.""" ticker: String! @@ -1314,7 +1304,7 @@ input CurrencyInput { type CurrencyType { decimalPlaces: Byte! - minters: [address] + minters: [Address] ticker: String! } @@ -1403,7 +1393,7 @@ type FungibleAssetValue { input FungibleAssetValueInputType { decimalPlaces: Byte! - minters: [address!] + minters: [Address!] quantity: BigInt! ticker: String! } @@ -1427,7 +1417,7 @@ input FungibleIdAndCountInput { } type FungibleItemGarageWithAddressType { - addr: address + addr: Address count: Int fungibleItemId: String item: FungibleItemType @@ -1444,10 +1434,10 @@ type FungibleItemType { } type GaragesType { - agentAddr: address + agentAddr: Address fungibleItemGarages: [FungibleItemGarageWithAddressType] garageBalances: [FungibleAssetValue] - garageBalancesAddr: address + garageBalancesAddr: Address } scalar Guid @@ -1462,7 +1452,7 @@ type HelperQuery { bencodexValue( """The byte array in hex representation to decode.""" hex: String! - ): BencodexValue! + ): IValue! """Converts currency info to currency hash.""" currencyHash( @@ -1471,6 +1461,22 @@ type HelperQuery { ): HashDigestSHA1! } +type IValue { + """A base64 representation of the bencodex value encoded to byte array.""" + base64: String! + + """ + A hexadecimal representation of the bencodex value encoded as byte array. + """ + hex: String! + + """A human readable representation of the bencodex value.""" + inspection: String! + + """A JSON representation of the bencodex value""" + json: String! +} + type InventoryItemType { """A count of item""" count: Int! @@ -1580,11 +1586,11 @@ type ItemUsableType { type KeyStoreMutation { createPrivateKey(passphrase: String!, privateKey: ByteString): PrivateKeyType! - revokePrivateKey(address: address!): ProtectedPrivateKeyType! + revokePrivateKey(address: Address!): ProtectedPrivateKeyType! } type KeyStoreType { - decryptedPrivateKey(address: address!, passphrase: String!): ByteString! + decryptedPrivateKey(address: Address!, passphrase: String!): ByteString! """An API to provide conversion to public-key, address.""" privateKey( @@ -1594,15 +1600,13 @@ type KeyStoreType { protectedPrivateKeys: [ProtectedPrivateKeyType!]! } -scalar LegacyBencodexValue - type LibplanetStateQuery { """ Gets the account state associated with given block hash or state root hash. Exactly one of the arguments must be specified. """ account( """A block hash to use as a pointer.""" - blockHash: blockHash + blockHash: BlockHash """A state root hash to use as a pointer.""" stateRootHash: HashDigestSHA256 @@ -1613,15 +1617,15 @@ type LibplanetStateQuery { """ accounts( """A list of block hashes to use as pointers.""" - blockHashes: [blockHash!] + blockHashes: [BlockHash!] """A list of state root hashes to use as pointers.""" stateRootHashes: [HashDigestSHA256!] ): [AccountState!]! - balance(currency: CurrencyInput!, offsetBlockHash: blockHash, offsetStateRootHash: HashDigestSHA256, owner: address!): FungibleAssetValue! - states(addresses: [address!]!, offsetBlockHash: blockHash, offsetStateRootHash: HashDigestSHA256): [LegacyBencodexValue]! - totalSupply(currency: CurrencyInput!, offsetBlockHash: blockHash, offsetStateRootHash: HashDigestSHA256): FungibleAssetValue - validators(offsetBlockHash: blockHash, offsetStateRootHash: HashDigestSHA256): [Validator!] + balance(currency: CurrencyInput!, offsetBlockHash: BlockHash, offsetStateRootHash: HashDigestSHA256, owner: Address!): FungibleAssetValue! + states(addresses: [Address!]!, offsetBlockHash: BlockHash, offsetStateRootHash: HashDigestSHA256): [BencodexValue]! + totalSupply(currency: CurrencyInput!, offsetBlockHash: BlockHash, offsetStateRootHash: HashDigestSHA256): FungibleAssetValue + validators(offsetBlockHash: BlockHash, offsetStateRootHash: HashDigestSHA256): [Validator!] } scalar Long @@ -1667,7 +1671,7 @@ input MaterialsToUseInputType { type MeadPledgeType { approved: Boolean! mead: Int! - patronAddress: address + patronAddress: Address } type MonsterCollectionRewardInfoType { @@ -1686,7 +1690,7 @@ type MonsterCollectionSheetType { } type MonsterCollectionStateType { - address: address! + address: Address! claimableBlockIndex: Long! expiredBlockIndex: Long! level: Long! @@ -1750,14 +1754,14 @@ type NodeStatusType { """Ids of staged transactions from the current node.""" stagedTxIds( """Target address to query""" - address: address + address: Address ): [TxId] """The number of ids of staged transactions from the current node.""" stagedTxIdsCount: Int """A list of subscribers' address""" - subscriberAddresses: [address] + subscriberAddresses: [Address] """The number of a list of subscribers' address""" subscriberAddressesCount: Int @@ -1773,7 +1777,7 @@ type NodeStatusType { """ List only blocks mined by the given address. (List everything if omitted.) """ - miner: address + miner: Address """The number of blocks to skip from tip.""" offset: Int = 0 @@ -1798,7 +1802,7 @@ type NotificationType { } type OrderDigestListStateType { - address: address + address: Address orderDigestList: [OrderDigestType]! } @@ -1822,7 +1826,7 @@ type OrderDigestType { price: String! """Address of seller agent.""" - sellerAgentAddress: address! + sellerAgentAddress: Address! """Block index order started.""" startedBlockIndex: Int! @@ -1859,12 +1863,14 @@ type PrivateKeyType { } type ProtectedPrivateKeyType { - address: address! + address: Address! } +scalar PublicKey + type PublicKeyType { """An address derived from the public-key.""" - address: address! + address: Address! """A representation of public-key with hexadecimal format.""" hex( @@ -1879,7 +1885,7 @@ type QuestListType { type RaiderStateType { """address of avatar state.""" - avatarAddress: address! + avatarAddress: Address! """name of avatar state.""" avatarName: String! @@ -1923,13 +1929,13 @@ type RaiderStateType { type RankingInfoType { """Address of agent.""" - agentAddress: address! + agentAddress: Address! """Equipped Armor ID from EquipmentItemSheet.""" armorId: Int! """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! """Avatar name.""" avatarName: String! @@ -1949,7 +1955,7 @@ type RankingInfoType { type RankingMapStateType { """Address of RankingMapState.""" - address: address! + address: Address! """RankingMapState Capacity.""" capacity: Int! @@ -1960,15 +1966,15 @@ type RankingMapStateType { input RecipientsInputType { amount: FungibleAssetValueInputType! - recipient: address! + recipient: Address! } type RpcInformationQuery { """List of address connected to this node.""" - clients: [address]! + clients: [Address]! """clients connected to this node by device.""" - clientsByDevice(device: String!): [address!]! + clientsByDevice(device: String!): [Address!]! """clients connected to this node grouped by Ip addresses.""" clientsByIps(minimum: Int!): [MultiAccountInfo]! @@ -1998,7 +2004,7 @@ type RuneStateType { type ShardedShopStateV2Type { """Address of sharded shop.""" - address: address! + address: Address! """List of OrderDigest.""" orderDigestList( @@ -2024,15 +2030,15 @@ type ShopItemType { productId: Guid! """Address of seller agent.""" - sellerAgentAddress: address! + sellerAgentAddress: Address! """Address of seller avatar.""" - sellerAvatarAddress: address! + sellerAvatarAddress: Address! } type ShopStateType { """Address of shop.""" - address: address! + address: Address! """List of ShopItem.""" products( @@ -2115,7 +2121,7 @@ type StakeStateType { achievements: StakeAchievementsType @deprecated(reason: "Since StakeStateV2, the achievement became removed.") """The address of current state.""" - address: address! + address: Address! """The block index the user can cancel the staking.""" cancellableBlockIndex: Long! @@ -2169,12 +2175,12 @@ type StandaloneMutation { memo: String """A hex-encoded value for address of recipient.""" - recipient: address! + recipient: Address! """A sender's transaction counter. You can get it through nextTxNonce().""" txNonce: Long! ): TxId - transferGold(amount: String!, recipient: address!): TxId @deprecated(reason: "Incorrect remittance may occur when using transferGold() to the same address consecutively. Use transfer() instead.") + transferGold(amount: String!, recipient: Address!): TxId @deprecated(reason: "Incorrect remittance may occur when using transferGold() to the same address consecutively. Use transfer() instead.") } type StandaloneQuery { @@ -2207,7 +2213,7 @@ type StandaloneQuery { ): TransactionType @deprecated(reason: "The root query is not the best place for getTx so it was moved. Use transaction.getTx()") goldBalance( """Target address to query""" - address: address! + address: Address! """Offset block hash for query.""" hash: ByteString @@ -2215,16 +2221,16 @@ type StandaloneQuery { keyStore: KeyStoreType @deprecated(reason: "Use `planet key` command instead. https://www.npmjs.com/package/@planetarium/cli") """Address of current node.""" - minerAddress: address + minerAddress: Address """Get monster collection status by address.""" monsterCollectionStatus( """agent address.""" - address: address + address: Address ): MonsterCollectionStatusType nextTxNonce( """Target address to query""" - address: address! + address: Address! ): Long! @deprecated(reason: "The root query is not the best place for nextTxNonce so it was moved. Use transaction.nextTxNonce()") nodeStatus: NodeStatusType! @@ -2235,7 +2241,7 @@ type StandaloneQuery { rpcInformation: RpcInformationQuery! state( """The address of state to fetch from the chain.""" - address: address! + address: Address! """The hash of the block used to fetch state from chain.""" hash: ByteString @@ -2247,7 +2253,7 @@ type StandaloneQuery { """Query for transaction.""" transaction: TransactionHeadlessQuery! - transferNCGHistories(blockHash: ByteString!, recipient: address): [TransferNCGHistoryType!]! + transferNCGHistories(blockHash: ByteString!, recipient: Address): [TransferNCGHistoryType!]! """The validation method provider for Libplanet types.""" validation: ValidationQuery! @@ -2256,7 +2262,7 @@ type StandaloneQuery { type StandaloneSubscription { balanceByAgent( """A hex-encoded address of agent.""" - address: address! + address: Address! ): String! differentAppProtocolVersionEncounter: DifferentAppProtocolVersionEncounterType! nodeException: NodeExceptionType! @@ -2289,13 +2295,13 @@ type StateQuery { """State for agent.""" agent( """Address of agent.""" - address: address! + address: Address! ): AgentStateType """List of arena information of requested arena and avatar list""" arenaInformation( """List of avatar address to get arena information""" - avatarAddresses: [address!]! + avatarAddresses: [Address!]! """Championship ID to get arena information""" championshipId: Int! @@ -2303,22 +2309,22 @@ type StateQuery { """Round of championship to get arena information""" round: Int! ): [ArenaInformationType!]! - arenaParticipants(avatarAddress: address!, filterBounds: Boolean! = true): [ArenaParticipantType]! + arenaParticipants(avatarAddress: Address!, filterBounds: Boolean! = true): [ArenaParticipantType]! """State for avatar.""" avatar( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! ): AvatarStateType """Avatar states having some order as addresses""" avatars( """Addresses of avatars to query.""" - addresses: [address!]! + addresses: [Address!]! ): [AvatarStateType]! """asset balance by currency.""" - balance(address: address!, currency: CurrencyInput!): FungibleAssetValueWithCurrencyType! + balance(address: Address!, currency: CurrencyInput!): FungibleAssetValueWithCurrencyType! cachedSheet(tableName: String!): String crystalMonsterCollectionMultiplierSheet: CrystalMonsterCollectionMultiplierSheetType @@ -2328,7 +2334,7 @@ type StateQuery { """ garages( """Agent address to get balances and fungible items in garages""" - agentAddr: address! + agentAddr: Address! """List of currency enums to get balances in garages""" currencyEnums: [CurrencyEnum!] @@ -2347,10 +2353,10 @@ type StateQuery { """State for monster collection.""" monsterCollectionState( """Address of agent.""" - agentAddress: address! + agentAddress: Address! ): MonsterCollectionStateType - orderDigestList(avatarAddress: address!): OrderDigestListStateType - pledge(agentAddress: address!): MeadPledgeType! + orderDigestList(avatarAddress: Address!): OrderDigestListStateType + pledge(agentAddress: Address!): MeadPledgeType! """world boss season id by block index.""" raidId( @@ -2361,12 +2367,12 @@ type StateQuery { ): Int! """raider address list by world boss season.""" - raiderList(raiderListAddress: address!): [address!] + raiderList(raiderListAddress: Address!): [Address!] """world boss season user information.""" raiderState( """address of world boss season.""" - raiderAddress: address! + raiderAddress: Address! ): RaiderStateType """State for avatar EXP record.""" @@ -2395,25 +2401,25 @@ type StateQuery { """State for staking.""" stakeState( """Address of agent who staked.""" - address: address! + address: Address! ): StakeStateType """Staking states having same order as addresses""" stakeStates( """Addresses of agent who staked.""" - addresses: [address]! + addresses: [Address]! ): [StakeStateType]! """List of unlocked equipment recipe sheet row ids.""" unlockedRecipeIds( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! ): [Int] """List of unlocked world sheet row ids.""" unlockedWorldIds( """Address of avatar.""" - avatarAddress: address! + avatarAddress: Address! ): [Int] """State for weekly arena.""" @@ -2423,10 +2429,10 @@ type StateQuery { ): WeeklyArenaStateType """user boss kill reward record by world boss season.""" - worldBossKillRewardRecord(worldBossKillRewardRecordAddress: address!): WorldBossKillRewardRecordType + worldBossKillRewardRecord(worldBossKillRewardRecordAddress: Address!): WorldBossKillRewardRecordType """world boss season boss information.""" - worldBossState(bossAddress: address!): WorldBossStateType + worldBossState(bossAddress: Address!): WorldBossStateType } type StatsMapType { @@ -2451,7 +2457,7 @@ type Transaction { blockRef: Block! """A unique identifier derived from this transaction content.""" - id: txId! + id: TxId! """ The number of previous transactions committed by the signer of this tx. @@ -2468,13 +2474,13 @@ type Transaction { signature: ByteString! """An address of the account who signed this transaction.""" - signer: address! + signer: Address! """The time this transaction was created and signed.""" timestamp: DateTimeOffset! """Addresses whose states were affected by Actions.""" - updatedAddresses: [address!]! + updatedAddresses: [Address!]! } type TransactionHeadlessQuery { @@ -2511,7 +2517,7 @@ type TransactionHeadlessQuery { ): [TransactionType] nextTxNonce( """Target address to query""" - address: address! + address: Address! ): Long! signTransaction( """The hexadecimal string of signature of the given unsigned transaction.""" @@ -2525,11 +2531,11 @@ type TransactionHeadlessQuery { transactionResult( """transaction id.""" txId: TxId! - ): TxResultType! + ): TxResult! transactionResults( """transaction ids.""" txIds: [TxId]! - ): [TxResultType]! + ): [TxResult]! unsignedTransaction( maxGasPrice: FungibleAssetValueInputType = {decimalPlaces: 18, minters: null, quantity: 1000000000000000000, ticker: "Mead"} @@ -2559,15 +2565,15 @@ type TransactionQuery { ): String! nextNonce( """Address of the account to get the next tx nonce.""" - address: address! + address: Address! ): Long! - stagedTransactions(desc: Boolean = false, limit: Int, offset: Int = 0, signer: address): [Transaction!]! - transaction(id: txId!): Transaction + stagedTransactions(desc: Boolean = false, limit: Int, offset: Int = 0, signer: Address): [Transaction!]! + transaction(id: TxId!): Transaction transactionResult( """transaction id.""" - txId: txId! - ): TxResultType! - transactions(desc: Boolean = false, limit: Int, offset: Int = 0, signer: address): [Transaction!]! + txId: TxId! + ): TxResult! + transactions(desc: Boolean = false, limit: Int, offset: Int = 0, signer: Address): [Transaction!]! unsignedTransaction( """The nonce for Transaction.""" nonce: Long @@ -2602,27 +2608,27 @@ type TransactionType { signature: ByteString! """An address of the account who signed this transaction.""" - signer: address! + signer: Address! """The time this transaction was created and signed.""" timestamp: String! """Addresses whose states were affected by Actions.""" - updatedAddresses: [address]! + updatedAddresses: [Address]! } type TransferNCGHistoryType { amount: String! blockHash: ByteString! memo: String - recipient: address! - sender: address! + recipient: Address! + sender: Address! txId: ByteString! } scalar TxId -type TxResultType { +type TxResult { """The block hash which the target transaction executed.""" blockHash: String @@ -2652,7 +2658,7 @@ enum TxStatus { type TxType { transaction: TransactionType! - txResult: TxResultType + txResult: TxResult } type ValidationQuery { @@ -2676,7 +2682,7 @@ type Validator { power: BigInt! """The public key of the validator.""" - publicKey: publicKey! + publicKey: PublicKey! } type Vote { @@ -2699,13 +2705,13 @@ type Vote { timestamp: DateTimeOffset! """Public key of the validator which is subject of the vote.""" - validatorPublicKey: publicKey! + validatorPublicKey: PublicKey! } scalar VoteFlag type WeeklyArenaStateType { - address: address! + address: Address! ended: Boolean! orderedArenaInfos: [ArenaInfoType]! } @@ -2754,12 +2760,4 @@ type WorldType { stageClearedId: Int! stageEnd: Int! unlockedBlockIndex: Long! -} - -scalar address - -scalar blockHash - -scalar publicKey - -scalar txId \ No newline at end of file +} \ No newline at end of file