Skip to main content Link Menu Expand (external link) Document Search Copy Copied

CeloEstimateGas

Model getters

Method name Return type Description Notes
getFrom() string Sender address.
Example: 0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef
 
getTo() string Blockchain address to send assets
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getAmount() string Amount to be sent.
Example: 100000
 
getData() string Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format
Example: 4d79206e6f746520746f2074686520726563697069656e74
[optional]