Skip to main content

NativeTransfer

Transfers of Native token associated with the DAO, including transfers sent to, received by, or intermediated by the DAO (refer to Enum TransferType for a better understanding of transfers associated with the DAO meaning).

type NativeTransfer implements TokenTransfer {
amount: BigInt!
createdAt: BigInt!
dao: Dao!
from: Bytes!
id: ID!
proposal: IProposal
reference: String!
to: Bytes!
txHash: Bytes!
type: TransferType!
}

Fields

NativeTransfer.amount ● BigInt! non-null scalar

The amount of transferred native tokens .

NativeTransfer.createdAt ● BigInt! non-null scalar

The timestamp of the native token transfer block.

NativeTransfer.dao ● Dao! non-null object

The DAO that manages the transfer.

NativeTransfer.from ● Bytes! non-null scalar

The Ethereum address from which the native tokens are being transferred.

NativeTransfer.id ● ID! non-null scalar

The concatenation of the transfer transaction hash, the log index and the action index (set to 0). Joined by '_'.

NativeTransfer.proposal ● IProposal interface

The associated DAO proposal, if applicable. Using the DAO deposit function there's no need for proposal.

NativeTransfer.reference ● String! non-null scalar

The reference describing the deposit reason.

NativeTransfer.to ● Bytes! non-null scalar

The Ethereum address receiving the native tokens.

NativeTransfer.txHash ● Bytes! non-null scalar

The hash of the native token transfer to track the transaction.

NativeTransfer.type ● TransferType! non-null enum

The type of transfer (External, Withdraw, Deposit) from the DAO's POV.

Interfaces

TokenTransfer interface

Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to Enum TransferType for a better understanding of transfers associated with the DAO meaning).

© 2024