Skip to content

Commit

Permalink
Add token id documentation in GraphQL (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
prix-uniris authored and Samuel committed Aug 17, 2022
1 parent d1b14be commit b2f3ace
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/archethic_web/graphql_schema/transaction_type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ defmodule ArchethicWeb.GraphQLSchema.TransactionType do
- Amount: asset amount
- Type: UCO/token
- token address: address of the token if the type is token
- token id: It is the id for a token which is allocated when the token is minted.
"""
object :unspent_output do
field(:from, :address)
Expand All @@ -171,6 +172,7 @@ defmodule ArchethicWeb.GraphQLSchema.TransactionType do
- token address: address of the token if the type is token
- Spent: determines if the input has been spent
- Timestamp: Date time when the inputs was generated
- token id: It is the id for a token which is allocated when the token is minted.
"""
object :transaction_input do
field(:from, :address)
Expand All @@ -189,6 +191,7 @@ defmodule ArchethicWeb.GraphQLSchema.TransactionType do
- Amount: asset amount
- Type: UCO/token
- token address: address of the token if the type is token
- token id: It is the id for a token which is allocated when the token is minted.
"""
object :transaction_movement do
field(:to, :address)
Expand Down

0 comments on commit b2f3ace

Please sign in to comment.