Skip to content

Commit

Permalink
commented out field decoration for inner transactions in context of g…
Browse files Browse the repository at this point in the history
…raphgql
  • Loading branch information
tanghel committed Oct 17, 2024
1 parent 436a770 commit 890ce18
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class TransactionDetailed extends Transaction {
@ApiProperty({ type: String, nullable: true })
relayedVersion: string | undefined = undefined;

@Field(() => [TransactionInner], { description: 'Inner transactions list details.', nullable: true })
// @Field(() => [TransactionInner], { description: 'Inner transactions list details.', nullable: true })
@ApiProperty({ type: TransactionInner, isArray: true })
innerTransactions: TransactionInner[] | undefined = undefined;
}
48 changes: 36 additions & 12 deletions src/graphql/schema/schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,6 @@ type AccountDetailed {
"""Code hash for the given detailed account."""
codeHash: String

"""Contracts for the given detailed account."""
contractAccount(
"""Input to retrieve the given contracts for."""
input: GetFromAndSizeInput!
): [DeployedContract!]

"""Contracts count for the given detailed account."""
contractAccountCount: Float!

"""
Summarizes all delegation positions with staking providers, together with unDelegation positions for the givven detailed account.
"""
Expand All @@ -180,12 +171,21 @@ type AccountDetailed {
"""Returns staking information related to the legacy delegation pool."""
delegationLegacy: AccountDelegationLegacy!

"""Contracts count for the given detailed account."""
deployAccountCount: Float!

"""DeployTxHash for the given detailed account."""
deployTxHash: String

"""Deployment timestamp for the given detailed account."""
deployedAt: Float

"""Deploys for the given detailed account."""
deploysAccount(
"""Input to retrieve the given deploys for."""
input: GetFromAndSizeInput!
): [DeployedContract!]

"""Developer reward for the given detailed account."""
developerReward: String!

Expand Down Expand Up @@ -1091,7 +1091,7 @@ input GetNftsAccountInput {
tags: [String!]

"""NFT type to retrieve for the given result set."""
type: NftType
type: [NftType!]

"""With supply to retrieve for the given result set."""
withSupply: Boolean
Expand Down Expand Up @@ -1138,7 +1138,7 @@ input GetNftsCountInput {
tags: [String!]

"""NFT type to retrieve for the given result set."""
type: NftType
type: [NftType!]
}

"""Input to retrieve the given NFTs for."""
Expand Down Expand Up @@ -1188,7 +1188,7 @@ input GetNftsInput {
tags: [String!]

"""NFT type to retrieve for the given result set."""
type: NftType
type: [NftType!]

"""With owner to retrieve for the given result set."""
withOwner: Boolean
Expand Down Expand Up @@ -2106,6 +2106,9 @@ type MexPair {
"""Mex pair trades count."""
tradesCount: Float

"""Mex pair trades count 24h."""
tradesCount24h: Float

"""Mex pair type details."""
type: MexPairType!

Expand Down Expand Up @@ -2804,8 +2807,17 @@ enum NftSubType {
"""Dynamic semi-fungible NFT type."""
DynamicSemiFungibleESDT

"""Meta ESDT NFT type."""
MetaESDT

"""Non-fungible ESDT NFT type."""
NonFungibleESDT

"""Non-fungible ESDT v2 NFT type."""
NonFungibleESDTv2

"""Semi-fungible ESDT NFT type."""
SemiFungibleESDT
}

"""NFT type."""
Expand Down Expand Up @@ -3536,6 +3548,9 @@ type SmartContractResult {
"""Sender assets for the given smart contract result."""
senderAssets: AccountAssets

"""Result status"""
status: String

"""Timestamp for the given smart contract result."""
timestamp: Float!

Expand Down Expand Up @@ -4060,6 +4075,9 @@ type Transaction {
"""The username of the receiver for the given transaction."""
receiverUsername: String!

"""Relayer address for the given transaction."""
relayer: String

"""Round for the given transaction."""
round: Float

Expand Down Expand Up @@ -4198,6 +4216,9 @@ type TransactionDetailed {
"""Relayed transaction version."""
relayedVersion: String

"""Relayer address for the given transaction."""
relayer: String

"""Smart contract results for the given detailed transaction."""
results: [SmartContractResult!]

Expand Down Expand Up @@ -4432,6 +4453,9 @@ enum TransactionStatus {

"""Transaction type object type."""
enum TransactionType {
"""InnerTransaction type."""
InnerTransaction

"""Reward type."""
Reward

Expand Down

0 comments on commit 890ce18

Please sign in to comment.