Nectar SDK & API
StartRelease
v1.6
v1.6
  • Introduction
  • Quick Start
  • Installation
  • Actions
    • getAllMarkets
    • getMarket
    • getMarketByTicker
    • getAllMarket24h
    • getMarket24h
    • getChains
    • getTokens
    • getAllOrders
    • getOpenOrders
    • getChart
    • getTrades
    • getBidAsk
    • transferToTradingWallet
    • transferToFundingWallet
    • buyLimit
    • sellLimit
    • buyMarketTotal
    • sellMarketAmount
    • cancelOrder
  • Types
    • BidAsk
    • Chain
    • Contract
    • Kline
    • Market
    • MarketQuote
    • NectarTransferResult
    • Order
    • Paginated
    • Token
    • Trade
    • Transaction
  • Enums
    • ChainType
    • ContractType
    • KLineInterval
    • OrderStatus
    • OrderType
    • TokenType
    • TransactionStatus
  • API Specifications
    • Header
    • Exchange Info
    • Markets 24hr Summary
    • Market History
    • Market Trades
    • Cancel Order
    • Opened User Orders
    • All User Orders
  • Release Notes
  • License and Copyright
Powered by GitBook
On this page
  1. Types

NectarTransferResult

The NectarTransferResult type represents the result of the token transference between funding wallet and trading wallet.

interface NectarTransferResult {
  approveTxhash?: string;
  transferTxhash?: string;
  transferStatus?: TransactionStatus;
  error?: Error;
}

Properties

  • approveTxhash?: string

    • A transaction hash for the approval transaction.

    • It is populated only when transferring ERC20 tokens, as these require an approval step before the actual transfer can occur.

  • transferTxhash?: string

    • A transaction hash of the transfer operation.

  • transferStatus?: TransactionStatus

    • A transfer status.

  • error?: Error

    • An error information associated with the transfer.

    • It is populated only when the transfer of ERC20 tokens fails.

Last updated 1 year ago