Historical Transactions

A Plugin which gathers all token and NFT transactions of a user. Enabled by default.

Collection Schema

This plugin will get all value transfers, token transfers (ERC20), and NFT transfers (ERC721, ERC1155) made from or to any authenticated user address (including linked addresses) or watched address. Right after a user is created (or an address is watched), this plugin will will populate the following set of collections for each blockchain synced by the Moralis server. The names will be prefixed by the chain they came from.

  • xxxTransactions

  • xxxTokenTransfers

  • xxxTokenBalances

  • xxxNFTTransfers

  • xxxNFTOwners

These collections can be viewed in the Moralis Dashboard.

Chain Prefixes

Chain

Prefix

Ethereum Mainnet, Ropsten, Georli, Kovan, Local Devchain

Eth

Binance Smart Chain Mainnet, Testnet

Bsc

Polygon (Matic) Mainnet, Mumbai Testnet

Matic

Elrond

Erd

Transactions

All transactions to or from user or watched addresses on that chain. Does not include internal transfers within smart contracts, like token transfers.

{
"objectId": String,
"block_hash": String,
"gas_price": Number,
"block_timestamp": Date,
"receipt_cumulative_gas_used": Number,
"ACL": ACL,
"receipt_gas_used": Number,
"input": String,
"receipt_contract_address": String,
"hash": String,
"updatedAt": Date,
"nonce": Number,
"to_address": String,
"transaction_index": Number,
"value": String,
"gas": Number,
"receipt_status": Number,
"createdAt": Date,
"block_number": Number,
"from_address": String,
"confirmed": Boolean,
}

TokenTransfers

All ERC20 token transfer events for user addresses and watched addresses will be found here.

{
"objectId": String,
"block_hash": String,
"block_timestamp": Date,
"ACL": ACL,
"updatedAt": Date,
"token_address": String,
"transaction_hash": String,
"to_address": String,
"transaction_index": Number,
"value": String,
"log_index": Number,
"createdAt": Date,
"block_number": Number,
"from_address": String,
"confirmed": Boolean,
}

TokenBalances

A summary of user and watched address token balances. This will be updated in real-time as new transactions are made.

{
"objectId": String,
"decimals": String,
"contract_type": String,
"ACL": ACL,
"name": String,
"updatedAt": Date,
"token_address": String,
"address": String,
"symbol": String,
"createdAt": Date,
"block_number": Number,
"balance": String,
}

NFTTransfers

Transfer events for NFTs (ERC721 and ERC1155 tokens) of user and watched addresses.

{
"objectId": String,
"block_hash": String,
"token_id": String,
"block_timestamp": Date,
"contract_type": String,
"ACL": ACL,
"updatedAt": Date,
"token_address": String,
"transaction_hash": String,
"to_address": String,
"transaction_index": Number,
"log_index": Number,
"amount": String,
"createdAt": Date,
"block_number": Number,
"transaction_type": String,
"from_address": String,
"confirmed": Boolean,
}

NFTOwners

A summary of NFT balances (ERC721 and ERC1155 tokens) for user and watched addresses.

{
"objectId": String,
"token_id": String,
"owner_of": String,
"token_uri": String,
"contract_type": String,
"ACL": ACL,
"name": String,
"updatedAt": Date,
"token_address": String,
"amount": Sring,
"symbol": String,
"createdAt": Date,
"block_number": Number,
}

​