InvokeReceiveTransactionOptions

Interface
Additional parameters available to methods that support receiving native Assets to the smart contract, i.e. they have been annotated with @receive.
export interface InvokeReceiveTransactionOptions extends TransactionOptions { 
  readonly sendTo?: ReadonlyArray<OmitStrict<Transfer, 'to'>>; 
} 

Properties

sendTo
ReadonlyArray<OmitStrict<Transfer, 'to'>>
Transfers that specify native assets to send to the contract.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE