Link to plugin page: http://zeroqode-demo-26.bubbleapps.io/metamask_advanced
Metamask is a chrome-based cryptocurrency wallet used to interact with the Ethereum and ERC-20 compatible blockchains. This plugin allows users to access their Ethereum wallet through a browser extension or mobile app, which can then be used to interact with decentralized applications. It's like a bridge that allows you to interact with blockchain-based applications.
PAY ATTENTION!!! The MetaMask extension MUST be installed in the browser in which you will use this plugin.
Place the plugin element on the page in order to use all possible actions.
PAY ATTENTION!!! The MetaMask extension MUST be installed in the browser in which you will use this plugin.
Params:
Sender address - A hex-encoded Ethereum address. Must match user's active address.
Recipient's address - A hex-encoded Ethereum address. Required for transactions with a recipient (all transactions except for contract creation).
Value - (number) Value of the network's native currency to send
Data - (optional) Required for smart contract creation. This field is also used for specifying contract methods and their parameters. NOTE! Field "Recipient's address" must be empty!
Gas - (optional) The gas limit provided by the sender in Wei
Gas price - (optional) The gas price provided by the sender in Wei
6. Get chain ID - Get the current chain ID
7. Get coinbase address - Return the client coinbase address
8. Add chain - Add the specific chain
Params:
Chain Name - Must specify a human-readable name for the chain.
Chain ID - Must specify the ID of the chain (dec or hex format)
RPC URLs - RPC Url. To find the correct RPC LEGAL entity go to https://rpc.info/
Block Explorer URLs - BlockExplorer Url. To find the correct LEGAL entity go to https://rpc.info/
Name - NativeCurrency name. Should be human-readable
Symbol - NativeCurrency symbol. Should be human-readable
9. Get Block Number - Returns the number of most recent block.
10. Get Balance - Returns Ether balance of a given or account or contract
Params:
Address - A hex-encoded Ethereum address of the account or contract
Block Number - A BlockNumber at which to request the balance
11. Get Logs - Returns an array of all logs matching a given filter object.
Params:
From Block - The hex representation of the block's height. Integer block number "latest" for the last mined block "pending", "earliest" for not yet mined transactions.
To Block - The hex representation of the block's height. Integer block number "latest" for the last mined block "pending", "earliest" for not yet mined transactions.
Address (optional) - List of contract addresses from which to monitor events
12. Track the Token - Tracks the custom Token in Metamask
Params:
Address - The address of the token contract
Symbol - A ticker symbol or shorthand, up to 5 characters
Image - A string url of the token logo
The element of this plugin has only one parameter field for parsing the logs response. You have to choose a single API call from this plugin "Log Response".
Live Demo : http://zeroqode-demo-26.bubbleapps.io/metamask_advanced
Demo Editor: https://bubble.io/page?type=page&name=metamask_advanced&id=zeroqode-demo-26&tab=tabs-1