A full Web3 API that allows users to query and interact with the blockchain, as well as generate new wallets.
You can test this API for yourself by using this base link. Add the desired endpoint and necessary parameters.
-
- Params:
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- will default to ethereum mainnet if undefined
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- Returns the latest block on Ethereum mainnet
- Params:
-
- Params:
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- will default to ethereum mainnet if undefined
- wallet - string wallet address
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- Returns the balance of provided wallet address (wallet)
- Params:
-
- Returns the private key and public address of a newly generated wallet
- NOTE: do not use except on a secure local server.
-
- Params:
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- will default to ethereum mainnet if undefined
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- Returns the current gas price of a given network
- Params:
-
- Params:
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- will default to ethereum mainnet if undefined
- wallet - address of asset owner
- contract - smart contract of asset
- NOTE: can be either an NFT or an ERC20 token
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- Returns the current number of assets under contract that wallet owns on network
- Params:
-
- Params:
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- will default to ethereum mainnet if undefined
- contract - smart contract of asset
- NOTE: can be either NFT or ERC20 token
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- Params:
-
- Params:
- wallet - address of wallet in question
- network - string representing desired network (ex. mainnet, goerli, polygon-mainnet)
- will default to ethereum mainnet if undefined
- contract - smart contract of asset
- NOTE: can be either NFT or ERC20 token
- Returns boolean value. If wallet owns 1 or more tokens from contract -> true; otherwise -> false;
- Params:
-
- Params:
- from: name of coin to inquire about (supported: 'ethereum')
- to: name of currency to convert to (supported: 'usd', 'vnd')
- Returns float representing the amount of 'to' that equates to 1 'from'
- Params:
-
- Params:
- from: name of coin to inquire about (eg. 'ethereum')
- to: name of currency to convert to (eg. 'usd', 'vnd')
- Writes to connected Firestore DB the current amount of 'to' that equates to 1 'from'
- Params:
-
- Params:
- contract: address of token smart contract
- network: network where contract is deployed
- will default to ethereum mainnet if undefined
- Returns a json object of token metadata {name, symbol, totalSupply, uri}
- Params: