NFTs
Transfer NFTs
Transfers are grouped per collection: each entry lists a symbol and the instance ids moving to the destination.
Try it: transfer NFTsUsage
Instance ids are strings, exactly as Hive Engine reports them.
TypeScript
await hive.issuer.nft.transfer({
from: hive.accounts.treasury,
account: "bob",
nfts: [{ symbol: "TESTNFT", ids: ["1", "2", "3"] }],
});
await hive.keychainIssuer.nft.transfer({
username: "alice",
account: "bob",
nfts: [{ symbol: "TESTNFT", ids: ["1"] }],
});Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| from / username | AccountRef | string | Yes | Signing account. |
| account | string | Yes | Receiving account. |
| nfts | { symbol, ids }[] | Yes | Instances grouped by collection. |
