Skip to main content
The SDK transfers native tokens, ERC-20 tokens, and ERC-721 tokens (NFTs) on peaq and agung.

native(to, amount)

Transfers the native token from the signer to a target address.

Native Token Transfer Code Examples

erc20(erc_20_address, recipient_address, amount, token_decimals)

Transfers ERC-20 tokens from the signer to a recipient address.

ERC-20 Transfer Code Examples

erc721(erc_721_address, recipient_address, token_id)

Transfers an ERC-721 token (NFT) from the signer to a recipient address using the safeTransferFrom method.

ERC-721 Transfer Code Examples