Most Used Commands
Read collection metadata and token ownershipFull Command Reference
Commands use thecontract-erc721 namespace (for example hcli contract-erc721 name). --contract / -c accepts a local alias, Hedera contract ID (0.0.xxx), or EVM address (0x…) where the manifest allows it.
Contract ERC-721 Name
Contract ERC-721 Name
Contract ERC-721 Symbol
Contract ERC-721 Symbol
Contract ERC-721 Balance-Of
Contract ERC-721 Balance-Of
Contract ERC-721 Owner-Of
Contract ERC-721 Owner-Of
Contract ERC-721 Get-Approved
Contract ERC-721 Get-Approved
Contract ERC-721 Is-Approved-For-All
Contract ERC-721 Is-Approved-For-All
Contract ERC-721 Token-URI
Contract ERC-721 Token-URI
Contract ERC-721 Approve
Contract ERC-721 Approve
Call Example
approve(address to, uint256 tokenId). State-changing (operator signs).string
required
Smart contract ID, alias, or EVM address.
string
required
Address approved to transfer the token: alias, account ID, or EVM address.
number
required
Token ID to approve.
number
default:"100000"
Gas for the contract call.
Contract ERC-721 Set-Approval-For-All
Contract ERC-721 Set-Approval-For-All
Contract ERC-721 Safe-Transfer-From
Contract ERC-721 Safe-Transfer-From
Call Example
safeTransferFrom (with or without the extra bytes argument). State-changing.string
required
Smart contract ID, alias, or EVM address.
string
required
Current owner: alias, account ID, or EVM address.
string
required
New owner: alias, account ID, or EVM address.
number
required
Token ID to transfer.
number
default:"100000"
Gas for the contract call.
string
Optional data payload for the 4-argument
safeTransferFrom overload.Contract ERC-721 Transfer-From
Contract ERC-721 Transfer-From
Call Example
transferFrom(address from, address to, uint256 tokenId). State-changing.string
required
Smart contract ID, alias, or EVM address.
string
required
Current owner: alias, account ID, or EVM address.
string
required
Recipient: alias, account ID, or EVM address.
number
required
Token ID to transfer.
number
default:"100000"
Gas for the contract call.
Contract ERC-721 Mint
Contract ERC-721 Mint
Calls a custom Example
mint(address to, uint256 tokenId) style entry point (experimental). The manifest marks this command as experimental and assumes a contract that exposes a compatible mint used for testing.string
required
Smart contract ID, alias, or EVM address.
string
required
Recipient of the minted token: alias, account ID, or EVM address.
number
required
Token ID to mint.
number
default:"100000"
Gas for the contract call.