A mix of all activity types.

interface ActivityPayload {
    amount?: bigint;
    blockHash?: `mh_${string}`;
    blockHeight?: number;
    callTxHash?: `th_${string}`;
    contractId?: `ct_${string}`;
    contractTxHash?: `th_${string}`;
    encodedTx?: `tx_${string}`;
    function?: string;
    hash?: `th_${string}`;
    height?: number;
    internalTx?: Record<string, unknown>;
    kind?: string;
    logIdx?: number;
    microIndex?: number;
    microTime?: Date;
    recipient?: `ak_${string}`;
    recipientId?: `ak_${string}`;
    refTxHash?: `th_${string}`;
    sender?: `ak_${string}`;
    senderId?: `ak_${string}`;
    signatures?: string[];
    tokenId?: number;
    tx?: Record<string, unknown>;
    txHash?: `th_${string}`;
}

Properties

amount?: bigint

The amount of AE tokens

blockHash?: `mh_${string}`

The micro block hash in which the transaction happened

blockHeight?: number
callTxHash?: `th_${string}`

The contract call transaction hash

contractId?: `ct_${string}`

Contract address

contractTxHash?: `th_${string}`

The contract creation transaction hash

encodedTx?: `tx_${string}`

Encoded transaction

function?: string

The name of the function

hash?: `th_${string}`

Transaction hash

height?: number

The height in which the internal call happened

internalTx?: Record<string, unknown>

The transaction object

kind?: string

The kind of internal transfer

logIdx?: number
microIndex?: number

The micro block index

microTime?: Date
recipient?: `ak_${string}`

Account address

recipientId?: `ak_${string}`

Account address

refTxHash?: `th_${string}`

The transaction hash of a transaction related to the internal transfer

sender?: `ak_${string}`

Account address

senderId?: `ak_${string}`

Account address

signatures?: string[]

The signatures

tokenId?: number
tx?: Record<string, unknown>

The transaction

txHash?: `th_${string}`

Transaction hash