Skip to main content

Module: @moralisweb3/common-evm-utils

moralis-monorepo / @moralisweb3/common-evm-utils

Module: @moralisweb3/common-evm-utils

Table of contents

DataType Classes

Other Classes

Variables

Type Aliases

Interfaces

Variables

CommonEvmUtilsConfig

Const CommonEvmUtilsConfig: Object

Type declaration

NameType
defaultEvmApiChainConfigKey<EvmChainish>
formatEvmAddressConfigKey<EvmAddressFormat>
formatEvmChainIdConfigKey<EvmChainIdFormat>

endpointWeightsOperation

Const endpointWeightsOperation: Operation<EndpointWeightsRequest, EndpointWeightsJSONRequest, any[], any[]>

Get the endpoint price list for rate limits and cost.


getBlockOperation

Const getBlockOperation: Operation<GetBlockRequest, GetBlockJSONRequest, GetBlockResponse, GetBlockJSONResponse>

Get the contents of a block given the block hash.


getContractEventsOperation

Const getContractEventsOperation: PaginatedOperation<GetContractEventsRequest, GetContractEventsJSONRequest, any[], GetContractEventsJSONResponse["result"]>

Get events for a contract ordered by block number in descending order.


getContractLogsOperation

Const getContractLogsOperation: PaginatedOperation<GetContractLogsRequest, GetContractLogsJSONRequest, any[], GetContractLogsJSONResponse["result"]>

Get the logs for a contract.


getContractNFTsOperation

Const getContractNFTsOperation: PaginatedOperation<GetContractNFTsRequest, GetContractNFTsJSONRequest, any[], GetContractNFTsJSONResponse["result"]>

Get NFTs for a given contract address, including metadata for all NFTs (where available).

  • Results are limited to 100 per page by default
  • Requests for contract addresses not yet indexed will automatically start the indexing process for that NFT collection.

getDateToBlockOperation

Const getDateToBlockOperation: Operation<GetDateToBlockRequest, GetDateToBlockJSONRequest, GetDateToBlockResponse, GetDateToBlockJSONResponse>

Get the closest block given the date.


getMultipleNFTsOperation

Const getMultipleNFTsOperation: Operation<GetMultipleNFTsRequest, GetMultipleNFTsJSONRequest, any[], GetMultipleNFTsJSONResponse>

Get NFTs for a given contract address, including metadata for all NFTs (where available).

  • Results are limited to 100 per page by default
  • Requests for contract addresses not yet indexed will automatically start the indexing process for that NFT collection.

getNFTContractMetadataOperation

Const getNFTContractMetadataOperation: Operation<GetNFTContractMetadataRequest, GetNFTContractMetadataJSONRequest, GetNFTContractMetadataResponse, GetNFTContractMetadataJSONResponse>

Get the collection / contract level metadata for a given contract (name, symbol, base token uri).

  • Requests for contract addresses not yet indexed will automatically start the indexing process for that NFT collection

getNFTContractTransfersOperation

Const getNFTContractTransfersOperation: PaginatedOperation<GetNFTContractTransfersRequest, GetNFTContractTransfersJSONRequest, any[], GetNFTContractTransfersJSONResponse["result"]>

Get transfers of NFTs for a given contract and other parameters.


getNFTLowestPriceOperation

Const getNFTLowestPriceOperation: Operation<GetNFTLowestPriceRequest, GetNFTLowestPriceJSONRequest, GetNFTLowestPriceResponse, GetNFTLowestPriceJSONResponse>

Get the lowest executed price for an NFT contract for the last x days (only trades paid in ETH).


getNFTMetadataOperation

Const getNFTMetadataOperation: Operation<GetNFTMetadataRequest, GetNFTMetadataJSONRequest, GetNFTMetadataResponse, GetNFTMetadataJSONResponse>

Get NFT data, including metadata (where available), for the given NFT token ID and contract address.

  • Requests for contract addresses not yet indexed will automatically start the indexing process for that NFT collection

getNFTOwnersOperation

Const getNFTOwnersOperation: PaginatedOperation<GetNFTOwnersRequest, GetNFTOwnersJSONRequest, any[], GetNFTOwnersJSONResponse["result"]>

Get owners of NFTs for a given contract.

  • Requests for contract addresses not yet indexed will automatically start the indexing process for that NFT collection.

getNFTTokenIdOwnersOperation

Const getNFTTokenIdOwnersOperation: PaginatedOperation<GetNFTTokenIdOwnersRequest, GetNFTTokenIdOwnersJSONRequest, any[], GetNFTTokenIdOwnersJSONResponse["result"]>

Get owners of a specific NFT given the contract address and token ID.

  • Requests for contract addresses not yet indexed will automatically start the indexing process for that NFT collection

getNFTTradesOperation

Const getNFTTradesOperation: PaginatedOperation<GetNFTTradesRequest, GetNFTTradesJSONRequest, any[], GetNFTTradesJSONResponse["result"]>

Get trades of NFTs for a given contract and marketplace.


getNFTTransfersByBlockOperation

Const getNFTTransfersByBlockOperation: PaginatedOperation<GetNFTTransfersByBlockRequest, GetNFTTransfersByBlockJSONRequest, any[], GetNFTTransfersByBlockJSONResponse["result"]>

Get transfers of NFTs given a block number or block hash.


getNFTTransfersFromToBlockOperation

Const getNFTTransfersFromToBlockOperation: PaginatedOperation<GetNFTTransfersFromToBlockRequest, GetNFTTransfersFromToBlockJSONRequest, any[], GetNFTTransfersFromToBlockJSONResponse["result"]>

Get transfers of NFTs from a block number to a block number.


getNFTTransfersOperation

Const getNFTTransfersOperation: PaginatedOperation<GetNFTTransfersRequest, GetNFTTransfersJSONRequest, any[], GetNFTTransfersJSONResponse["result"]>

Get transfers of an NFT given a contract address and token ID.


getNativeBalanceOperation

Const getNativeBalanceOperation: Operation<GetNativeBalanceRequest, GetNativeBalanceJSONRequest, GetNativeBalanceResponse, GetNativeBalanceJSONResponse>

Get the native balance for a specific wallet address.


getNativeBalancesForAddressesOperation

Const getNativeBalancesForAddressesOperation: Operation<GetNativeBalancesForAddressesRequest, GetNativeBalancesForAddressesJSONRequest, any[], any[]>

Get the native balances for a set of specific addresses


getPairAddressOperation

Const getPairAddressOperation: Operation<GetPairAddressRequest, GetPairAddressJSONRequest, GetPairAddressResponse, GetPairAddressJSONResponse>

Fetch the pair data of the provided token0+token1 combination. The token0 and token1 options are interchangable (ie. there is no different outcome in "token0=WETH and token1=USDT" or "token0=USDT and token1=WETH")


getPairReservesOperation

Const getPairReservesOperation: Operation<GetPairReservesRequest, GetPairReservesJSONRequest, GetPairReservesResponse, GetPairReservesJSONResponse>

Get the liquidity reserves for a given pair address. Only Uniswap V2 based exchanges supported at the moment.


getTokenAllowanceOperation

Const getTokenAllowanceOperation: Operation<GetTokenAllowanceRequest, GetTokenAllowanceJSONRequest, GetTokenAllowanceResponse, GetTokenAllowanceJSONResponse>

Get the amount which the spender is allowed to withdraw on behalf of the owner.


getTokenMetadataBySymbolOperation

Const getTokenMetadataBySymbolOperation: Operation<GetTokenMetadataBySymbolRequest, GetTokenMetadataBySymbolJSONRequest, any[], any[]>

Get metadata for a list of token symbols (name, symbol, decimals, logo).


getTokenMetadataOperation

Const getTokenMetadataOperation: Operation<GetTokenMetadataRequest, GetTokenMetadataJSONRequest, any[], any[]>

Get the metadata for a given token contract address (name, symbol, decimals, logo).


getTokenPriceOperation

Const getTokenPriceOperation: Operation<GetTokenPriceRequest, GetTokenPriceJSONRequest, GetTokenPriceResponse, GetTokenPriceJSONResponse>

Get the token price denominated in the blockchains native token and USD.


getTokenTransfersOperation

Const getTokenTransfersOperation: PaginatedOperation<GetTokenTransfersRequest, GetTokenTransfersJSONRequest, any[], GetTokenTransfersJSONResponse["result"]>

Get ERC20 token transactions from a contract ordered by block number in descending order.


getTransactionOperation

Const getTransactionOperation: Operation<GetTransactionRequest, GetTransactionJSONRequest, GetTransactionResponse, GetTransactionJSONResponse>

Get the contents of a transaction by the given transaction hash.


getWalletNFTCollectionsOperation

Const getWalletNFTCollectionsOperation: PaginatedOperation<GetWalletNFTCollectionsRequest, GetWalletNFTCollectionsJSONRequest, any[], GetWalletNFTCollectionsJSONResponse["result"]>

Get NFT collections owned by a given wallet address.


getWalletNFTTransfersOperation

Const getWalletNFTTransfersOperation: PaginatedOperation<GetWalletNFTTransfersRequest, GetWalletNFTTransfersJSONRequest, any[], GetWalletNFTTransfersJSONResponse["result"]>

Get transfers of NFTs given the wallet and other parameters.


getWalletNFTsOperation

Const getWalletNFTsOperation: PaginatedOperation<GetWalletNFTsRequest, GetWalletNFTsJSONRequest, any[], GetWalletNFTsJSONResponse["result"]>

Get NFTs owned by a given address.

  • The response will include status [SYNCED/SYNCING] based on the contracts being indexed.
  • Use the token_address param to get results for a specific contract only
  • Note results will include all indexed NFTs
  • Any request which includes the token_address param will start the indexing process for that NFT collection the very first time it is requested.

getWalletTokenBalancesOperation

Const getWalletTokenBalancesOperation: Operation<GetWalletTokenBalancesRequest, GetWalletTokenBalancesJSONRequest, any[], any[]>

Get token balances for a specific wallet address.


getWalletTokenTransfersOperation

Const getWalletTokenTransfersOperation: PaginatedOperation<GetWalletTokenTransfersRequest, GetWalletTokenTransfersJSONRequest, any[], GetWalletTokenTransfersJSONResponse["result"]>

Get ERC20 token transactions ordered by block number in descending order.


getWalletTransactionsOperation

Const getWalletTransactionsOperation: PaginatedOperation<GetWalletTransactionsRequest, GetWalletTransactionsJSONRequest, any[], GetWalletTransactionsJSONResponse["result"]>

Get native transactions ordered by block number in descending order.


getWalletTransactionsVerboseOperation

Const getWalletTransactionsVerboseOperation: PaginatedOperation<GetWalletTransactionsVerboseRequest, GetWalletTransactionsVerboseJSONRequest, any[], GetWalletTransactionsVerboseJSONResponse["result"]>

Get native transactions ordered by block number in descending order.


operations

Const operations: (Operation<GetNativeBalanceRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; toBlock: undefined | number = request.toBlock }, { balance: EvmNative }, { balance: string }> | Operation<GetNativeBalancesForAddressesRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; providerUrl: undefined | string = request.providerUrl; toBlock: undefined | number = request.toBlock; walletAddresses: string[] }, { blockNumber: string = chainBalances.block_number; blockTimestamp: string = chainBalances.block_timestamp; chain: EvmChain ; totalBalance: EvmNative ; walletBalances: { address: EvmAddress ; balance: EvmNative }[] }[], { block_number: string ; block_timestamp: string ; chain: string ; chain_id: string ; total_balance: string ; total_balance_formatted: string ; wallet_balances: { address: string ; balance: string ; balance_formatted: string }[] }[]> | Operation<GetBlockRequest, { blockNumberOrHash: string = request.blockNumberOrHash; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" }, EvmBlock, { difficulty: string ; extra_data: string ; gas_limit: string ; gas_used: string ; hash: string ; logs_bloom: string ; miner: string ; nonce: string ; number: string ; parent_hash: string ; receipts_root: string ; sha3_uncles: string ; size: string ; state_root: string ; timestamp: string ; total_difficulty: string ; transaction_count: string ; transactions: { block_hash: string ; block_number: string ; block_timestamp: string ; from_address: string ; gas?: string ; gas_price: string ; hash: string ; input: string ; logs?: { address: string ; block_hash: string ; block_number: string ; block_timestamp: string ; data: string ; log_index: string ; topic0: string ; topic1?: unknown ; topic2?: unknown ; topic3?: unknown ; transaction_hash: string ; transaction_index: string }[] ; nonce: string ; receipt_contract_address?: unknown ; receipt_cumulative_gas_used: string ; receipt_gas_used: string ; receipt_root?: unknown ; receipt_status: string ; to_address: unknown ; transaction_index: string ; value: string }[] ; transactions_root: string }> | Operation<GetDateToBlockRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; date: string }, EvmBlockDate, { block: number ; block_timestamp?: string ; date: string ; hash?: string ; parent_hash?: string ; timestamp: number }> | Operation<GetPairAddressRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; exchange: Camelize<"uniswapv2" | "uniswapv3" | "sushiswapv2" | "pancakeswapv2" | "pancakeswapv1" | "quickswap"> = request.exchange; toBlock: undefined | string = request.toBlock; toDate: undefined | string ; token0Address: string ; token1Address: string }, { pairAddress: undefined | EvmAddress ; token0: { blockNumber: undefined | string = jsonResponse.token0.block_number; createdAt: undefined | Date ; token: Erc20Token ; validated: undefined | number = jsonResponse.token0.validated } ; token1: { blockNumber: undefined | string = jsonResponse.token1.block_number; createdAt: undefined | Date ; token: Erc20Token ; validated: undefined | number = jsonResponse.token1.validated } }, { pairAddress?: string ; token0?: { address?: string ; block_number?: string ; created_at?: string ; decimals?: string ; logo?: string ; logo_hash?: string ; name?: string ; symbol?: string ; thumbnail?: string ; validated?: number } ; token1?: { address?: string ; block_number?: string ; created_at?: string ; decimals?: string ; logo?: string ; logo_hash?: string ; name?: string ; symbol?: string ; thumbnail?: string ; validated?: number } }> | Operation<GetPairReservesRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; pairAddress: string ; toBlock: undefined | string = request.toBlock; toDate: undefined | string }, { reserve0?: string ; reserve1?: string }, { reserve0?: string ; reserve1?: string }> | PaginatedOperation<GetContractEventsRequest, { abi: EvmAbiItem = request.abi; address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; disableTotal: undefined | boolean = request.disableTotal; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | string ; limit: undefined | number = request.limit; offset: undefined | number = request.offset; toBlock: undefined | number = request.toBlock; toDate: undefined | string ; topic: string = request.topic }, EvmEvent[], undefined | { address: string ; block_hash: string ; block_number: string ; block_timestamp: string ; data: { from?: string ; to?: string ; value?: string } ; transaction_hash: string }[]> | PaginatedOperation<GetContractLogsRequest, { address: string ; blockNumber: undefined | string = request.blockNumber; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; fromBlock: undefined | string = request.fromBlock; fromDate: undefined | string ; limit: undefined | number = request.limit; toBlock: undefined | string = request.toBlock; toDate: undefined | string ; topic0: undefined | string = request.topic0; topic1: undefined | string = request.topic1; topic2: undefined | string = request.topic2; topic3: undefined | string = request.topic3 }, EvmTransactionLog[], undefined | { address: string ; block_hash: string ; block_number: string ; block_timestamp: string ; data: string ; log_index: number ; topic0: string ; topic1: string ; topic2: string ; topic3: string ; transaction_hash: string ; transaction_index: number }[]> | Operation<UploadFolderRequest, { abi: string }, { path: string }[], { path: string }[]> | PaginatedOperation<GetContractNFTsRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; limit: undefined | number = request.limit; normalizeMetadata: undefined | boolean = request.normalizeMetadata; range: undefined | number = request.range; totalRanges: undefined | number = request.totalRanges }, EvmNft[], undefined | { amount?: string ; block_number?: string ; block_number_minted?: string ; contract_type: string ; last_metadata_sync?: string ; last_token_uri_sync?: string ; metadata?: string ; minter_address?: string ; name: string ; normalized_metadata?: { animation_url?: string ; attributes?: { display_type?: string ; max_value?: number ; order?: number ; trait_count?: number ; trait_type?: string ; value?: { [key: string]: unknown; } }[] ; description?: string ; external_link?: string ; image?: string ; name?: string } ; owner_of?: string ; symbol: string ; token_address: string ; token_hash?: string ; token_id: string ; token_uri?: string }[]> | Operation<GetMultipleNFTsRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; normalizeMetadata: undefined | boolean = request.normalizeMetadata; tokens: { tokenAddress: string ; tokenId: string = token.tokenId }[] }, (null | EvmNft)[], SuccessResponse> | Operation<GetNFTContractMetadataRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" }, EvmNftMetadata, { contract_type: string ; name: string ; symbol: string ; synced_at?: string ; token_address: string }> | PaginatedOperation<GetNFTContractTransfersRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | string ; limit: undefined | number = request.limit; toBlock: undefined | number = request.toBlock; toDate: undefined | string }, EvmNftTransfer[], { amount?: string ; block_hash: string ; block_number: string ; block_timestamp: string ; contract_type: string ; from_address?: string ; log_index: number ; operator?: string ; to_address: string ; token_address: string ; token_id: string ; transaction_hash: string ; transaction_index?: number ; transaction_type?: string ; value?: string }[]> | Operation<GetNFTLowestPriceRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; days: undefined | number = request.days; marketplace: undefined | "opensea" = request.marketplace }, EvmNftTrade, { block_hash: string ; block_number: string ; block_timestamp: string ; buyer_address: string ; marketplace_address: string ; price: string ; seller_address: string ; token_ids: string[] ; transaction_hash: string ; transaction_index: string } & { token_address: unknown }> | Operation<GetNFTMetadataRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; format: undefined | "hex" | "decimal" = request.format; normalizeMetadata: undefined | boolean = request.normalizeMetadata; tokenId: string = request.tokenId }, EvmNft, { amount?: string ; block_number?: string ; block_number_minted?: string ; contract_type: string ; last_metadata_sync?: string ; last_token_uri_sync?: string ; metadata?: string ; minter_address?: string ; name: string ; normalized_metadata?: { animation_url?: string ; attributes?: { display_type?: string ; max_value?: number ; order?: number ; trait_count?: number ; trait_type?: string ; value?: { [key: string]: unknown; } }[] ; description?: string ; external_link?: string ; image?: string ; name?: string } ; owner_of?: string ; symbol: string ; token_address: string ; token_hash?: string ; token_id: string ; token_uri?: string }> | PaginatedOperation<GetNFTOwnersRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; limit: undefined | number = request.limit; normalizeMetadata: undefined | boolean = request.normalizeMetadata }, EvmNft[], undefined | { amount?: string ; block_number: string ; block_number_minted: string ; contract_type: string ; last_metadata_sync: string ; last_token_uri_sync: string ; metadata?: string ; name: string ; normalized_metadata?: { animation_url?: string ; attributes?: { display_type?: string ; max_value?: number ; order?: number ; trait_count?: number ; trait_type?: string ; value?: { [key: string]: unknown; } }[] ; description?: string ; external_link?: string ; image?: string ; name?: string } ; owner_of: string ; symbol: string ; token_address: string ; token_hash: string ; token_id: string ; token_uri?: string }[]> | PaginatedOperation<GetNFTTokenIdOwnersRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; limit: undefined | number = request.limit; normalizeMetadata: undefined | boolean = request.normalizeMetadata; tokenId: string = request.tokenId }, EvmNft[], undefined | { amount?: string ; block_number: string ; block_number_minted: string ; contract_type: string ; last_metadata_sync: string ; last_token_uri_sync: string ; metadata?: string ; name: string ; normalized_metadata?: { animation_url?: string ; attributes?: { display_type?: string ; max_value?: number ; order?: number ; trait_count?: number ; trait_type?: string ; value?: { [key: string]: unknown; } }[] ; description?: string ; external_link?: string ; image?: string ; name?: string } ; owner_of: string ; symbol: string ; token_address: string ; token_hash: string ; token_id: string ; token_uri?: string }[]> | PaginatedOperation<GetNFTTradesRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | DateInput = request.fromDate; limit: undefined | number = request.limit; marketplace: undefined | "opensea" = request.marketplace; toBlock: undefined | string = request.toBlock; toDate: undefined | DateInput = request.toDate }, EvmNftTrade[], undefined | { block_hash: string ; block_number: string ; block_timestamp: string ; buyer_address: string ; marketplace_address: string ; price: string ; seller_address: string ; token_ids: string[] ; transaction_hash: string ; transaction_index: string } & { token_address: unknown }[]> | PaginatedOperation<GetNFTTransfersByBlockRequest, { blockNumberOrHash: string = request.blockNumberOrHash; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; limit: undefined | number = request.limit }, EvmNftTransfer[], { amount?: string ; block_hash: string ; block_number: string ; block_timestamp: string ; contract_type: string ; from_address?: string ; log_index: number ; operator?: string ; to_address: string ; token_address: string ; token_id: string ; transaction_hash: string ; transaction_index?: number ; transaction_type?: string ; value?: string }[]> | PaginatedOperation<GetNFTTransfersFromToBlockRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | DateInput = request.fromDate; limit: undefined | number = request.limit; toBlock: undefined | number = request.toBlock; toDate: undefined | DateInput = request.toDate }, EvmNftTransfer[], { amount?: string ; block_hash: string ; block_number: string ; block_timestamp: string ; contract_type: string ; from_address?: string ; log_index: number ; operator?: string ; to_address: string ; token_address: string ; token_id: string ; transaction_hash: string ; transaction_index?: number ; transaction_type?: string ; value?: string }[]> | PaginatedOperation<GetNFTTransfersRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; limit: undefined | number = request.limit; tokenId: string = request.tokenId }, EvmNftTransfer[], { amount?: string ; block_hash: string ; block_number: string ; block_timestamp: string ; contract_type: string ; from_address?: string ; log_index: number ; operator?: string ; to_address: string ; token_address: string ; token_id: string ; transaction_hash: string ; transaction_index?: number ; transaction_type?: string ; value?: string }[]> | PaginatedOperation<GetWalletNFTCollectionsRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; limit: undefined | number = request.limit }, EvmNftCollection[], undefined | { contract_type: string ; name: string ; symbol: string ; token_address: string }[]> | PaginatedOperation<GetWalletNFTsRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; limit: undefined | number = request.limit; normalizeMetadata: undefined | boolean = request.normalizeMetadata; tokenAddresses: undefined | string[] }, EvmNft[], undefined | { amount?: string ; block_number: string ; block_number_minted: string ; contract_type: string ; last_metadata_sync: string ; last_token_uri_sync: string ; metadata?: string ; name: string ; normalized_metadata?: { animation_url?: string ; attributes?: { display_type?: string ; max_value?: number ; order?: number ; trait_count?: number ; trait_type?: string ; value?: { [key: string]: unknown; } }[] ; description?: string ; external_link?: string ; image?: string ; name?: string } ; owner_of: string ; symbol: string ; token_address: string ; token_hash: string ; token_id: string ; token_uri?: string }[]> | PaginatedOperation<GetWalletNFTTransfersRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; direction: undefined | "to" | "from" | "both" = request.direction; disableTotal: undefined | boolean = request.disableTotal; format: undefined | "hex" | "decimal" = request.format; fromBlock: undefined | number = request.fromBlock; limit: undefined | number = request.limit; toBlock: undefined | string = request.toBlock }, EvmNftTransfer[], { amount?: string ; block_hash: string ; block_number: string ; block_timestamp: string ; contract_type: string ; from_address?: string ; log_index: number ; operator?: string ; to_address: string ; token_address: string ; token_id: string ; transaction_hash: string ; transaction_index?: number ; transaction_type?: string ; value?: string }[]> | Operation<ReSyncMetadataRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; flag: undefined | "uri" | "metadata" = request.flag; mode: undefined | "async" | "sync" = request.mode; tokenId: string = request.tokenId }, { status: string }, { status: string }> | PaginatedOperation<SearchNFTsRequest, { addresses: undefined | string[] ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; filter: undefined | "name" | "description" | "attributes" | "global" | "name,description" | "name,attributes" | "description,attributes" | "name,description,attributes" = request.filter; format: undefined | "hex" | "decimal" = request.format; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | DateInput = request.fromDate; limit: undefined | number = request.limit; q: string = request.q; toBlock: undefined | number = request.toBlock; toDate: undefined | DateInput = request.toDate }, { batchId: string = nft.batch_id; blockNumberMinted: string = nft.block_number_minted; frozen: number = nft.frozen; frozenLogIndex: undefined | { [key: string]: unknown; } = nft.frozen_log_index; imported: undefined | { [key: string]: unknown; } = nft.imported; isValid: number = nft.is_valid; lastMetadataSync: undefined | Date ; lastTokenUriSync: undefined | Date ; openseaLookup: undefined | { [key: string]: unknown; } = nft.opensea_lookup; resyncing: number = nft.resyncing; syncing: number = nft.syncing; token: EvmNft ; tokenHash: string = nft.token_hash; updatedAt: Date }[], undefined | { batch_id: string ; block_number_minted: string ; contract_type: string ; createdAt: string ; frozen: number ; frozen_log_index?: { [key: string]: unknown; } ; imported?: { [key: string]: unknown; } ; is_valid: number ; last_metadata_sync: string ; last_token_uri_sync: string ; metadata: string ; metadata_attributes: string ; metadata_description: string ; metadata_name: string ; minter_address: string ; opensea_lookup?: { [key: string]: unknown; } ; resyncing: number ; syncing: number ; token_address: string ; token_hash: string ; token_id: string ; token_uri: string ; transaction_minted: string ; updatedAt: string }[]> | Operation<SyncNFTContractRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" }, { success: boolean = true }, unknown> | Operation<ResolveAddressRequest, { address: undefined | string }, { name: string }, { name: string }> | Operation<ResolveDomainRequest, { currency: undefined | "0x1" | "eth" = request.currency; domain: string = request.domain }, { address: EvmAddress }, { address: string }> | Operation<GetTokenAllowanceRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; ownerAddress: string ; spenderAddress: string }, { allowance: BigNumber }, { allowance: string }> | Operation<GetTokenMetadataRequest, { addresses: string[] ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" }, { blockNumber: undefined | string = token.block_number; token: Erc20Token ; validated: undefined | string = token.validated }[], { address: string ; block_number?: string ; decimals: string ; logo?: string ; logo_hash?: string ; name: string ; symbol: string ; thumbnail?: string ; validated?: string }[]> | Operation<GetTokenMetadataBySymbolRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; symbols: string[] = request.symbols }, { blockNumber: undefined | string = token.block_number; token: Erc20Token ; validated: undefined | string = token.validated }[], { address: string ; block_number?: string ; decimals: string ; logo?: string ; logo_hash?: string ; name: string ; symbol: string ; thumbnail?: string ; validated?: string }[]> | Operation<GetTokenPriceRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; exchange: undefined | string = request.exchange; toBlock: undefined | number = request.toBlock }, { exchangeAddress: null | EvmAddress ; exchangeName: undefined | string ; nativePrice: null | EvmNative ; usdPrice: number }, { exchangeAddress?: string ; exchangeName?: string ; nativePrice?: { decimals: number ; name: string ; symbol: string ; value: string } ; usdPrice: number }> | PaginatedOperation<GetTokenTransfersRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | DateInput = request.fromDate; limit: undefined | number = request.limit; toBlock: undefined | number = request.toBlock; toDate: undefined | DateInput = request.toDate }, Erc20Transfer[], undefined | { address: string ; block_hash: string ; block_number: string ; block_timestamp: string ; from_address: string ; log_index: number ; to_address: string ; transaction_hash: string ; transaction_index: number ; value: string }[]> | Operation<GetWalletTokenBalancesRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; toBlock: undefined | number = request.toBlock; tokenAddresses: undefined | string[] }, Erc20Value[], { balance: string ; decimals: number ; logo?: string ; name: string ; symbol: string ; thumbnail?: string ; token_address: string }[]> | Operation<GetTransactionRequest, { chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; transactionHash: string = request.transactionHash }, EvmTransaction, { block_hash: string ; block_number: string ; block_timestamp: string ; from_address: string ; gas?: string ; gas_price: string ; hash: string ; input: string ; logs?: { address: string ; block_hash: string ; block_number: string ; block_timestamp: string ; data: string ; log_index: string ; topic0: string ; topic1?: unknown ; topic2?: unknown ; topic3?: unknown ; transaction_hash: string ; transaction_index: string }[] ; nonce: string ; receipt_contract_address?: unknown ; receipt_cumulative_gas_used: string ; receipt_gas_used: string ; receipt_root?: unknown ; receipt_status: string ; to_address: unknown ; transaction_index: string ; value: string }> | PaginatedOperation<GetWalletTransactionsRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | DateInput = request.fromDate; limit: undefined | number = request.limit; toBlock: undefined | number = request.toBlock; toDate: undefined | DateInput = request.toDate }, EvmTransaction[], undefined | { block_hash: string ; block_number: string ; block_timestamp: string ; from_address: string ; gas: string ; gas_price: string ; hash: string ; input: string ; nonce: string ; receipt_contract_address: string ; receipt_cumulative_gas_used: string ; receipt_gas_used: string ; receipt_root: string ; receipt_status: string ; to_address: string ; transaction_index: string ; value: string }[]> | PaginatedOperation<GetWalletTransactionsVerboseRequest, { address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; cursor: undefined | string = request.cursor; disableTotal: undefined | boolean = request.disableTotal; fromBlock: undefined | number = request.fromBlock; fromDate: undefined | DateInput = request.fromDate; limit: undefined | number = request.limit; toBlock: undefined | number = request.toBlock; toDate: undefined | DateInput = request.toDate }, EvmTransaction[], undefined | { block_hash: string ; block_number: string ; block_timestamp: string ; from_address: string ; gas?: string ; gas_price: string ; hash: string ; input: string ; logs?: { address: string ; block_hash: string ; block_number: string ; block_timestamp: string ; data: string ; log_index: string ; topic0: string ; topic1?: unknown ; topic2?: unknown ; topic3?: unknown ; transaction_hash: string ; transaction_index: string }[] ; nonce: string ; receipt_contract_address?: unknown ; receipt_cumulative_gas_used: string ; receipt_gas_used: string ; receipt_root?: unknown ; receipt_status: string ; to_address: unknown ; transaction_index: string ; value: string }[]> | Operation<RunContractFunctionRequest, { abi: unknown = request.abi; address: string ; chain: "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xa869" | "0xfa" | "0x19" | "0x152" | "0x2a15c308d" | "0xa4B1" ; functionName: string = request.functionName; params: undefined | { [key: string]: unknown; } = request.params }, string, string> | Operation<EndpointWeightsRequest, undefined, { endpoint: string ; path: string ; price: string ; rateLimitCost: string }[], { endpoint: string ; path: string ; price: string ; rateLimitCost: string }[]> | Operation<Web3ApiVersionRequest, undefined, { version: string }, { version: string }>)[]


reSyncMetadataOperation

Const reSyncMetadataOperation: Operation<ReSyncMetadataRequest, ReSyncMetadataJSONRequest, ReSyncMetadataResponse, ReSyncMetadataJSONResponse>

ReSync the metadata for an NFT

  • The metadata flag will request a the NFT's metadata from the already existing token_uri
  • The uri(default) flag will fetch the latest token_uri from the given NFT address. In sync mode the metadata will also be fetched
  • The sync mode will make the endpoint synchronous so it will wait for the task to be completed before responding
  • The async mode(default) will make the endpoint asynchronous so we will wait for the task to be completed before responding

resolveAddressOperation

Const resolveAddressOperation: Operation<ResolveAddressRequest, ResolveAddressJSONRequest, ResolveAddressResponse, ResolveAddressJSONResponse>

Resolve an ETH address and find the ENS name.


resolveDomainOperation

Const resolveDomainOperation: Operation<ResolveDomainRequest, ResolveDomainJSONRequest, ResolveDomainResponse, ResolveDomainJSONResponse>

Resolve an Unstoppable domain and get the address.


runContractFunctionOperation

Const runContractFunctionOperation: Operation<RunContractFunctionRequest, RunContractFunctionJSONRequest, RunContractFunctionResponse, RunContractFunctionJSONResponse>

Run a given function of a contract ABI and retrieve readonly data.


searchNFTsOperation

Const searchNFTsOperation: PaginatedOperation<SearchNFTsRequest, SearchNFTsJSONRequest, any[], SearchNFTsJSONResponse["result"]>

Get NFTs that match a given metadata search query.


syncNFTContractOperation

Const syncNFTContractOperation: Operation<SyncNFTContractRequest, SyncNFTContractJSONRequest, SyncNFTContractResponse, SyncNFTContractJSONResponse>

Initiates a sync of a previously non synced Contract.


uploadFolderOperation

Const uploadFolderOperation: Operation<UploadFolderRequest, UploadFolderJSONRequest, any[], any[]>

Upload multiple files to IPFS and place them in a folder directory.


web3ApiVersionOperation

Const web3ApiVersionOperation: Operation<Web3ApiVersionRequest, Web3ApiVersionJSONRequest, Web3ApiVersionResponse, Web3ApiVersionJSONResponse>

Get the current version of the Moralis Web3 API.

Type Aliases

EndpointWeightsJSONRequest

Ƭ EndpointWeightsJSONRequest: undefined


EndpointWeightsJSONResponse

Ƭ EndpointWeightsJSONResponse: any[]


EndpointWeightsResponse

Ƭ EndpointWeightsResponse: ReturnType<typeof deserializeResponse>


Erc20Options

Ƭ Erc20Options: Object

The options for the Erc20Value class

Type declaration

NameType
decimals?Erc20ValueInputDecimals
token?Erc20Tokenish

Erc20Tokenish

Ƭ Erc20Tokenish: Erc20Input | Erc20Token

This can be any valid Erc20Input or Erc20Token.


Erc20Transferish

Ƭ Erc20Transferish: Erc20TransferInput | Erc20Transfer

Valid input for a new Erc20Transfer instance. This can be an existing Erc20Transfer or a valid Erc20TransferInput object


Erc20ValueData

Ƭ Erc20ValueData: Object

This is the return type of the processed Erc20Value

Type declaration

NameType
amountBigNumber
decimalsnumber

Erc20ValueInputAmount

Ƭ Erc20ValueInputAmount: BigNumberish

BigNumberish type for the amount of tokens


Erc20ValueInputDecimals

Ƭ Erc20ValueInputDecimals: number | string

This is a number or a string that represents the decimals of tokens


Erc20Valueish

Ƭ Erc20Valueish: Erc20ValueInputAmount | Erc20Value

Valid input for a new Erc20Value instance. This can be an existing Erc20Value or a valid Erc20ValueInputAmount object


EvmAddressInput

Ƭ EvmAddressInput: string

This can be any valid EVM address, formatted as lowercase or checksum.

Example

"0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359"

Example

"0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359"

EvmAddressish

Ƭ EvmAddressish: EvmAddress | EvmAddressInput

Valid input for a new EvmAddress instance. This can be an existing EvmAddress or a valid address string as lowercase, or checksum format.


EvmBlockDateInput

Ƭ EvmBlockDateInput: components["schemas"][``"blockDate"``]


EvmBlockDateish

Ƭ EvmBlockDateish: EvmBlockDateInput | EvmBlockDate


EvmBlockish

Ƭ EvmBlockish: EvmBlockInput | EvmBlock

Valid input for a new EvmBlock instance. This can be an existing EvmBlock or a valid EvmBlockInput object


EvmChainish

Ƭ EvmChainish: EvmChain | InputChainId

This can be any valid EvmChain or InputChainId.


EvmEventish

Ƭ EvmEventish: EvmEventInput | EvmEvent

Valid input for a new EvmEvent instance. This can be an existing EvmEvent or a valid EvmEventInput object


EvmNativeUnit

Ƭ EvmNativeUnit: "ether" | "finney" | "szabo" | "gwei" | "mwei" | "kwei" | "wei"

Type containing valid EVM native units


EvmNativeish

Ƭ EvmNativeish: InputEvmNative | EvmNative

Valid input for a new EvmNative instance. This can be an existing EvmNative or a valid InputEvmNative type


EvmNftCollectionish

Ƭ EvmNftCollectionish: EvmNftCollectionInput | EvmNftCollection

Valid input for a new EvmNftCollection instance. This can be an existing EvmNftCollection or a valid EvmNftCollectionInput object


EvmNftMetadataish

Ƭ EvmNftMetadataish: EvmNftMetadataInput | EvmNftMetadata

This can be an exsisting EvmNftMetadata or a valid EvmNftMetadataInput.


EvmNftTradeish

Ƭ EvmNftTradeish: EvmNftTradeInput | EvmNftTrade

Valid input for a new EvmNftTrade instance. This can be an existing EvmNftTrade or a valid EvmNftTradeInput object


EvmNftTransferish

Ƭ EvmNftTransferish: EvmNftTransferInput | EvmNftTransfer

Valid input for a new EvmNftTransfer instance. This can be an existing EvmNftTransfer or a valid EvmNftTransferInput object


EvmNftish

Ƭ EvmNftish: EvmNftInput | EvmNft

Valid input for a new EvmNft instance. This can be an existing EvmNft or a valid EvmNftInput object


EvmSignatureInput

Ƭ EvmSignatureInput: EvmSignatureInputRSV | string


EvmSignatureInputRSV

Ƭ EvmSignatureInputRSV: Object

Type declaration

NameType
rstring
sstring
vnumber | string

EvmSignatureish

Ƭ EvmSignatureish: EvmSignatureInput | EvmSignature


EvmSimpleBlockish

Ƭ EvmSimpleBlockish: EvmSimpleBlockInput | EvmSimpleBlock

Valid input for a new EvmSimpleBlock instance. This can be an existing EvmSimpleBlock or a valid EvmSimpleBlockInput object


EvmTransactionLogish

Ƭ EvmTransactionLogish: EvmTransactionLogInput | EvmTransactionLog

This can be any valid EvmTransactionLogInput or EvmTransactionLog.


EvmTransactionish

Ƭ EvmTransactionish: EvmTransactionInput | EvmTransaction

Valid input for a new EvmTransaction instance. This can be an existing EvmTransaction or a valid EvmTransactionInput object


GetBlockJSONRequest

Ƭ GetBlockJSONRequest: ReturnType<typeof serializeRequest>


GetBlockJSONResponse

Ƭ GetBlockJSONResponse: SuccessResponse


GetBlockResponse

Ƭ GetBlockResponse: ReturnType<typeof deserializeResponse>


GetContractEventsJSONRequest

Ƭ GetContractEventsJSONRequest: ReturnType<typeof serializeRequest>


GetContractEventsJSONResponse

Ƭ GetContractEventsJSONResponse: SuccessResponse


GetContractEventsResponse

Ƭ GetContractEventsResponse: ReturnType<typeof deserializeResponse>


GetContractLogsJSONRequest

Ƭ GetContractLogsJSONRequest: ReturnType<typeof serializeRequest>


GetContractLogsJSONResponse

Ƭ GetContractLogsJSONResponse: SuccessResponse


GetContractLogsResponse

Ƭ GetContractLogsResponse: ReturnType<typeof deserializeResponse>


GetContractNFTsJSONRequest

Ƭ GetContractNFTsJSONRequest: ReturnType<typeof serializeRequest>


GetContractNFTsJSONResponse

Ƭ GetContractNFTsJSONResponse: SuccessResponse


GetContractNFTsResponse

Ƭ GetContractNFTsResponse: ReturnType<typeof deserializeResponse>


GetDateToBlockJSONRequest

Ƭ GetDateToBlockJSONRequest: ReturnType<typeof serializeRequest>


GetDateToBlockJSONResponse

Ƭ GetDateToBlockJSONResponse: SuccessResponse


GetDateToBlockResponse

Ƭ GetDateToBlockResponse: ReturnType<typeof deserializeResponse>


GetMultipleNFTsJSONRequest

Ƭ GetMultipleNFTsJSONRequest: ReturnType<typeof serializeRequest>


GetMultipleNFTsJSONResponse

Ƭ GetMultipleNFTsJSONResponse: SuccessResponse


GetMultipleNFTsResponse

Ƭ GetMultipleNFTsResponse: ReturnType<typeof deserializeResponse>


GetNFTContractMetadataJSONRequest

Ƭ GetNFTContractMetadataJSONRequest: ReturnType<typeof serializeRequest>


GetNFTContractMetadataJSONResponse

Ƭ GetNFTContractMetadataJSONResponse: SuccessResponse


GetNFTContractMetadataResponse

Ƭ GetNFTContractMetadataResponse: ReturnType<typeof deserializeResponse>


GetNFTContractTransfersJSONRequest

Ƭ GetNFTContractTransfersJSONRequest: ReturnType<typeof serializeRequest>


GetNFTContractTransfersJSONResponse

Ƭ GetNFTContractTransfersJSONResponse: SuccessResponse


GetNFTContractTransfersResponse

Ƭ GetNFTContractTransfersResponse: ReturnType<typeof deserializeResponse>


GetNFTLowestPriceJSONRequest

Ƭ GetNFTLowestPriceJSONRequest: ReturnType<typeof serializeRequest>


GetNFTLowestPriceJSONResponse

Ƭ GetNFTLowestPriceJSONResponse: SuccessResponse


GetNFTLowestPriceResponse

Ƭ GetNFTLowestPriceResponse: ReturnType<typeof deserializeResponse>


GetNFTMetadataJSONRequest

Ƭ GetNFTMetadataJSONRequest: ReturnType<typeof serializeRequest>


GetNFTMetadataJSONResponse

Ƭ GetNFTMetadataJSONResponse: SuccessResponse


GetNFTMetadataResponse

Ƭ GetNFTMetadataResponse: ReturnType<typeof deserializeResponse>


GetNFTOwnersJSONRequest

Ƭ GetNFTOwnersJSONRequest: ReturnType<typeof serializeRequest>


GetNFTOwnersJSONResponse

Ƭ GetNFTOwnersJSONResponse: SuccessResponse


GetNFTOwnersResponse

Ƭ GetNFTOwnersResponse: ReturnType<typeof deserializeResponse>


GetNFTTokenIdOwnersJSONRequest

Ƭ GetNFTTokenIdOwnersJSONRequest: ReturnType<typeof serializeRequest>


GetNFTTokenIdOwnersJSONResponse

Ƭ GetNFTTokenIdOwnersJSONResponse: SuccessResponse


GetNFTTokenIdOwnersResponse

Ƭ GetNFTTokenIdOwnersResponse: ReturnType<typeof deserializeResponse>


GetNFTTradesJSONRequest

Ƭ GetNFTTradesJSONRequest: ReturnType<typeof serializeRequest>


GetNFTTradesJSONResponse

Ƭ GetNFTTradesJSONResponse: SuccessResponse


GetNFTTradesResponse

Ƭ GetNFTTradesResponse: ReturnType<typeof deserializeResponse>


GetNFTTransfersByBlockJSONRequest

Ƭ GetNFTTransfersByBlockJSONRequest: ReturnType<typeof serializeRequest>


GetNFTTransfersByBlockJSONResponse

Ƭ GetNFTTransfersByBlockJSONResponse: SuccessResponse


GetNFTTransfersByBlockResponse

Ƭ GetNFTTransfersByBlockResponse: ReturnType<typeof deserializeResponse>


GetNFTTransfersFromToBlockJSONRequest

Ƭ GetNFTTransfersFromToBlockJSONRequest: ReturnType<typeof serializeRequest>


GetNFTTransfersFromToBlockJSONResponse

Ƭ GetNFTTransfersFromToBlockJSONResponse: SuccessResponse


GetNFTTransfersFromToBlockResponse

Ƭ GetNFTTransfersFromToBlockResponse: ReturnType<typeof deserializeResponse>


GetNFTTransfersJSONRequest

Ƭ GetNFTTransfersJSONRequest: ReturnType<typeof serializeRequest>


GetNFTTransfersJSONResponse

Ƭ GetNFTTransfersJSONResponse: SuccessResponse


GetNFTTransfersResponse

Ƭ GetNFTTransfersResponse: ReturnType<typeof deserializeResponse>


GetNativeBalanceJSONRequest

Ƭ GetNativeBalanceJSONRequest: ReturnType<typeof serializeRequest>


GetNativeBalanceJSONResponse

Ƭ GetNativeBalanceJSONResponse: SuccessResponse


GetNativeBalanceResponse

Ƭ GetNativeBalanceResponse: ReturnType<typeof deserializeResponse>


GetNativeBalancesForAddressesJSONRequest

Ƭ GetNativeBalancesForAddressesJSONRequest: ReturnType<typeof serializeRequest>


GetNativeBalancesForAddressesJSONResponse

Ƭ GetNativeBalancesForAddressesJSONResponse: any[]


GetNativeBalancesForAddressesResponse

Ƭ GetNativeBalancesForAddressesResponse: ReturnType<typeof deserializeResponse>


GetPairAddressJSONRequest

Ƭ GetPairAddressJSONRequest: ReturnType<typeof serializeRequest>


GetPairAddressJSONResponse

Ƭ GetPairAddressJSONResponse: SuccessResponse


GetPairAddressResponse

Ƭ GetPairAddressResponse: ReturnType<typeof deserializeResponse>


GetPairReservesJSONRequest

Ƭ GetPairReservesJSONRequest: ReturnType<typeof serializeRequest>


GetPairReservesJSONResponse

Ƭ GetPairReservesJSONResponse: SuccessResponse


GetPairReservesResponse

Ƭ GetPairReservesResponse: ReturnType<typeof deserializeResponse>


GetTokenAllowanceJSONRequest

Ƭ GetTokenAllowanceJSONRequest: ReturnType<typeof serializeRequest>


GetTokenAllowanceJSONResponse

Ƭ GetTokenAllowanceJSONResponse: SuccessResponse


GetTokenAllowanceResponse

Ƭ GetTokenAllowanceResponse: ReturnType<typeof deserializeResponse>


GetTokenMetadataBySymbolJSONRequest

Ƭ GetTokenMetadataBySymbolJSONRequest: ReturnType<typeof serializeRequest>


GetTokenMetadataBySymbolJSONResponse

Ƭ GetTokenMetadataBySymbolJSONResponse: any[]


GetTokenMetadataBySymbolResponse

Ƭ GetTokenMetadataBySymbolResponse: ReturnType<typeof deserializeResponse>


GetTokenMetadataJSONRequest

Ƭ GetTokenMetadataJSONRequest: ReturnType<typeof serializeRequest>


GetTokenMetadataJSONResponse

Ƭ GetTokenMetadataJSONResponse: any[]


GetTokenMetadataResponse

Ƭ GetTokenMetadataResponse: ReturnType<typeof deserializeResponse>


GetTokenPriceJSONRequest

Ƭ GetTokenPriceJSONRequest: ReturnType<typeof serializeRequest>


GetTokenPriceJSONResponse

Ƭ GetTokenPriceJSONResponse: SuccessResponse


GetTokenPriceResponse

Ƭ GetTokenPriceResponse: ReturnType<typeof deserializeResponse>


GetTokenTransfersJSONRequest

Ƭ GetTokenTransfersJSONRequest: ReturnType<typeof serializeRequest>


GetTokenTransfersJSONResponse

Ƭ GetTokenTransfersJSONResponse: SuccessResponse


GetTokenTransfersResponse

Ƭ GetTokenTransfersResponse: ReturnType<typeof deserializeResponse>


GetTransactionJSONRequest

Ƭ GetTransactionJSONRequest: ReturnType<typeof serializeRequest>


GetTransactionJSONResponse

Ƭ GetTransactionJSONResponse: SuccessResponse


GetTransactionResponse

Ƭ GetTransactionResponse: ReturnType<typeof deserializeResponse>


GetWalletNFTCollectionsJSONRequest

Ƭ GetWalletNFTCollectionsJSONRequest: ReturnType<typeof serializeRequest>


GetWalletNFTCollectionsJSONResponse

Ƭ GetWalletNFTCollectionsJSONResponse: SuccessResponse


GetWalletNFTCollectionsResponse

Ƭ GetWalletNFTCollectionsResponse: ReturnType<typeof deserializeResponse>


GetWalletNFTTransfersJSONRequest

Ƭ GetWalletNFTTransfersJSONRequest: ReturnType<typeof serializeRequest>


GetWalletNFTTransfersJSONResponse

Ƭ GetWalletNFTTransfersJSONResponse: SuccessResponse


GetWalletNFTTransfersResponse

Ƭ GetWalletNFTTransfersResponse: ReturnType<typeof deserializeResponse>


GetWalletNFTsJSONRequest

Ƭ GetWalletNFTsJSONRequest: ReturnType<typeof serializeRequest>


GetWalletNFTsJSONResponse

Ƭ GetWalletNFTsJSONResponse: SuccessResponse


GetWalletNFTsResponse

Ƭ GetWalletNFTsResponse: ReturnType<typeof deserializeResponse>


GetWalletTokenBalancesJSONRequest

Ƭ GetWalletTokenBalancesJSONRequest: ReturnType<typeof serializeRequest>


GetWalletTokenBalancesJSONResponse

Ƭ GetWalletTokenBalancesJSONResponse: any[]


GetWalletTokenBalancesResponse

Ƭ GetWalletTokenBalancesResponse: ReturnType<typeof deserializeResponse>


GetWalletTokenTransfersJSONRequest

Ƭ GetWalletTokenTransfersJSONRequest: ReturnType<typeof serializeRequest>


GetWalletTokenTransfersJSONResponse

Ƭ GetWalletTokenTransfersJSONResponse: SuccessResponse


GetWalletTokenTransfersResponse

Ƭ GetWalletTokenTransfersResponse: ReturnType<typeof deserializeResponse>


GetWalletTransactionsJSONRequest

Ƭ GetWalletTransactionsJSONRequest: ReturnType<typeof serializeRequest>


GetWalletTransactionsJSONResponse

Ƭ GetWalletTransactionsJSONResponse: SuccessResponse


GetWalletTransactionsResponse

Ƭ GetWalletTransactionsResponse: ReturnType<typeof deserializeResponse>


GetWalletTransactionsVerboseJSONRequest

Ƭ GetWalletTransactionsVerboseJSONRequest: ReturnType<typeof serializeRequest>


GetWalletTransactionsVerboseJSONResponse

Ƭ GetWalletTransactionsVerboseJSONResponse: SuccessResponse


GetWalletTransactionsVerboseResponse

Ƭ GetWalletTransactionsVerboseResponse: ReturnType<typeof deserializeResponse>


InputChainId

Ƭ InputChainId: string | number

This can be an hex-string, ChainName or a number


InputEvmNative

Ƭ InputEvmNative: BigNumberish

This is any valid BigNumberish value


LogTopic

Ƭ LogTopic: string | null


ReSyncMetadataJSONRequest

Ƭ ReSyncMetadataJSONRequest: ReturnType<typeof serializeRequest>


ReSyncMetadataJSONResponse

Ƭ ReSyncMetadataJSONResponse: SuccessResponse


ReSyncMetadataResponse

Ƭ ReSyncMetadataResponse: ReturnType<typeof deserializeResponse>


ResolveAddressJSONRequest

Ƭ ResolveAddressJSONRequest: ReturnType<typeof serializeRequest>


ResolveAddressJSONResponse

Ƭ ResolveAddressJSONResponse: SuccessResponse


ResolveAddressResponse

Ƭ ResolveAddressResponse: ReturnType<typeof deserializeResponse>


ResolveDomainJSONRequest

Ƭ ResolveDomainJSONRequest: ReturnType<typeof serializeRequest>


ResolveDomainJSONResponse

Ƭ ResolveDomainJSONResponse: SuccessResponse


ResolveDomainResponse

Ƭ ResolveDomainResponse: ReturnType<typeof deserializeResponse>


RunContractFunctionJSONRequest

Ƭ RunContractFunctionJSONRequest: ReturnType<typeof serializeRequest>


RunContractFunctionJSONResponse

Ƭ RunContractFunctionJSONResponse: SuccessResponse


RunContractFunctionResponse

Ƭ RunContractFunctionResponse: ReturnType<typeof deserializeResponse>


SearchNFTsJSONRequest

Ƭ SearchNFTsJSONRequest: ReturnType<typeof serializeRequest>


SearchNFTsJSONResponse

Ƭ SearchNFTsJSONResponse: SuccessResponse


SearchNFTsResponse

Ƭ SearchNFTsResponse: ReturnType<typeof deserializeResponse>


SyncNFTContractJSONRequest

Ƭ SyncNFTContractJSONRequest: ReturnType<typeof serializeRequest>


SyncNFTContractJSONResponse

Ƭ SyncNFTContractJSONResponse: SuccessResponse


SyncNFTContractResponse

Ƭ SyncNFTContractResponse: ReturnType<typeof deserializeResponse>


UploadFolderJSONRequest

Ƭ UploadFolderJSONRequest: ReturnType<typeof serializeRequest>


UploadFolderJSONResponse

Ƭ UploadFolderJSONResponse: any[]


UploadFolderResponse

Ƭ UploadFolderResponse: ReturnType<typeof deserializeResponse>


Web3ApiVersionJSONRequest

Ƭ Web3ApiVersionJSONRequest: undefined


Web3ApiVersionJSONResponse

Ƭ Web3ApiVersionJSONResponse: SuccessResponse


Web3ApiVersionResponse

Ƭ Web3ApiVersionResponse: ReturnType<typeof deserializeResponse>