Skip to content

Commit

Permalink
Merge pull request #889 from tonlabs/gitbook
Browse files Browse the repository at this point in the history
Update docs from gitbook
  • Loading branch information
tonjen authored Oct 4, 2022
2 parents 044d87f + 4de9b4a commit 95b84bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/reference/ever-os-api/ft-fungible-token-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ description: Get TIP3 tokens info, balances, transfers
Now API indexes only TIP3.2 standard. 

* version - API version
* tokens - returns the list of tokens
* token - returns information about the token
* holder - returns information about token holder: her wallets, transfers
* wallet - returns information about a particular wallet: its balance, owner, transfers, balance percentage(related to the total token supply)
* [tokens](../../samples/graphql-samples/ft-fungible-token-api.md#list-of-tokens) - returns the list of tokens
* [token](../../samples/graphql-samples/ft-fungible-token-api.md#token-info) - returns information about the token
* [holder](../../samples/graphql-samples/ft-fungible-token-api.md#holder-info) - returns information about token holder: her wallets, transfers
* [wallet](../../samples/graphql-samples/ft-fungible-token-api.md#wallet-info) - returns information about a particular wallet: its balance, owner, transfers, balance percentage(related to the total token supply)
* holdersByAddresses - returns an array of holders by their addresses
* transfersByMessageIds - returns an array of transfers by their message ids
* [account.holderInfo](../../samples/graphql-samples/ft-fungible-token-api.md#account)
* [transaction.transferInfo](../../samples/graphql-samples/ft-fungible-token-api.md#transaction)
* [message.transferInfo](../../samples/graphql-samples/ft-fungible-token-api.md#message)

We followed GraphQL best practices and implemented Relay Cursor Connections Specification for pagination for all list types. You can read more here [https://relay.dev/graphql/connections.htm](https://relay.dev/graphql/connections.htm) 
4 changes: 4 additions & 0 deletions docs/samples/graphql-samples/ft-fungible-token-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ You can optionally filter by symbol substring. 

Use `cursor`, {`first`, `after`} or {`last`, `before`} filters for pagination.

{% hint style="success" %}
We followed GraphQL best practices and implemented Relay Cursor Connections Specification for pagination for all list types. You can read more here [https://relay.dev/graphql/connections.htm](https://relay.dev/graphql/connections.htm) 
{% endhint %}

```graphql
query{
ft{
Expand Down

0 comments on commit 95b84bf

Please sign in to comment.