Near (NEAR & Near Token)

Sign Transaction

The D'CENT Web SDK provides functions for signing transaction of coins.

getNearSignedTransaction()

Supported Coin Type

  • Near(NEAR)

  • Near Token

Parameters

  • unsignedTx: unsigned hexadecimal tx Near Docs

  • path: key path, wallet sign with that private key with a given key path (BIP32 ex) "m/44'/397'/0'").

  • fee: fee, It is fee that wallet displays on the screen.

  • symbol: symbol, It is a symbol that the wallet displays on the screen.

  • decimals: near or near token's decimals.

  • optionParams: hexadecimal value of the token method type is used only in near token.

    • '02' : Function call(ft_transfer)

    • '04' : Stake (The method will be supported later.)

    • '08' : Delegate (The method will be supported later)

Requirements

  • D'CENT Bridge version 1.5.1 or higher is required.

  • D'CENT Biometric Wallet version 2.24.0 or higher is required.

    • near token: version 2.27.1 or higher is required.

Useage

Returned response object

Last updated

Was this helpful?