Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NftTransfer

Simple transfer. Transfer a given token_id from current owner to receiver_id.

Requirements

Arguments:

  • receiver_id: the valid NEAR account receiving the token
  • token_id: the token to transfer
  • approval_id: expected approval ID. A number smaller than 2^53, and therefore representable as JSON. See Approval Management standard for full explanation.
  • memo (optional): for use cases that may benefit from indexing or providing information for a transfer
contractmethod

change

Hierarchy

  • NftTransfer

Index

Properties

Properties

args: { approval_id?: number; memo?: string; receiver_id: string; token_id: string }

Type declaration

  • Optional approval_id?: number
  • Optional memo?: string
  • receiver_id: string
  • token_id: string
options: { attachedDeposit?: string; gas?: string }

Type declaration

  • Optional attachedDeposit?: string

    Units in yoctoNear

    default

    "0"

  • Optional gas?: string

    Units in gas

    pattern

    [0-9]+

    default

    "30000000000000"

Generated using TypeDoc