Transfer

Interface
Represents a transfer of assets.
export interface Transfer { 
  readonly amount: BigNumber; 
  readonly asset: AddressString; 
  readonly to: AddressString; 
  readonly data?: any; 
} 

Properties

amount
BigNumber
Amount to be transferred
asset
AddressString
Hash160 in string format of the address of the Contract to call to make the transfer.
to
Destination address.
data
any
Additional data to be attached to the transaction. Typed as any but should be used cautiously since it will need to be converted.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE