Skip to main content

Queries

_meta

Type: _Meta_

_meta will return you the protocol subgraph metadata.

Arguments

NameDescription

block
Block_height

authorizedFunction

Type: AuthorizedFunction

authorizedFunction indexes all authorized functions available for the token manager. This API will allow you to fetch a certain authorized function.

Arguments

NameDescription

id
ID!

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

authorizedFunctions

Type: [AuthorizedFunction!]!

authorizedFunctions indexes all authorized functions available for the token manager. This API will allow you to fetch all authorized functions and filter based on certain requirements.

Arguments

NameDescription

skip
Int

first
Int

orderBy
AuthorizedFunction_orderBy

orderDirection
OrderDirection

where
AuthorizedFunction_filter

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

subjectToken

Type: SubjectToken

subjectToken indexes all subject tokens that have interacted with the vesting contract. This API will allow you to fetch a certain subject token.

Arguments

NameDescription

id
ID!

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

subjectTokens

Type: [SubjectToken!]!

subjectToken indexes all subject tokens that have interacted with the vesting contract. This API will allow you to fetch all subject tokens and filter based on certain requirements.

Arguments

NameDescription

skip
Int

first
Int

orderBy
SubjectToken_orderBy

orderDirection
OrderDirection

where
SubjectToken_filter

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

tokenLockManager

Type: TokenLockManager

tokenLockManager indexes the token lock manager of the vesting contract. This API will return details about the token lock manager.

Arguments

NameDescription

id
ID!

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

tokenLockManagers

Type: [TokenLockManager!]!

tokenLockManagers indexes the token lock manager of the vesting contract. This API will return details about the token lock manager.

Arguments

NameDescription

skip
Int

first
Int

orderBy
TokenLockManager_orderBy

orderDirection
OrderDirection

where
TokenLockManager_filter

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

tokenLockWallet

Type: TokenLockWallet

tokenLockWallet indexes all beneficiary wallet addresses of the vesting contract. This API will allow you to fetch a certain beneficiary.

Arguments

NameDescription

id
ID!

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

tokenLockWallets

Type: [TokenLockWallet!]!

tokenLockWallet indexes all beneficiary wallet addresses of the vesting contract. This API will allow you to fetch all beneficiaries and filter based on certain requirements.

Arguments

NameDescription

skip
Int

first
Int

orderBy
TokenLockWallet_orderBy

orderDirection
OrderDirection

where
TokenLockWallet_filter

block
Block_height

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

subgraphError
SubgraphErrorPolicy!

Set to allow to receive data even if the subgraph has skipped over errors while syncing.