Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSignableTokenERC20 ¶
func NewSignableTokenERC20(decimals int, tokenAddress string) *api.SignableToken
NewSignableTokenERC20 returns a new ERC20 type token. https://docs.x.immutable.com/docs/token-data-object#type-erc20
func NewSignableTokenERC721 ¶
func NewSignableTokenERC721(tokenID, tokenAddress string) *api.SignableToken
NewSignableTokenERC721 returns a new ERC721 type token. https://docs.x.immutable.com/docs/token-data-object#type-erc721
func NewSignableTokenEth ¶
func NewSignableTokenEth() *api.SignableToken
NewSignableTokenEth returns a new ETH type token. https://docs.x.immutable.com/docs/token-data-object#type-eth
Types ¶
Click to show internal directories.
Click to hide internal directories.