Skip to main content
The peaq network provides methods to transfer tokens across supported chains (peaq and agung). This includes native token transfers, ERC-20 token transfers, and ERC-721 (NFT) transfers.

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