D'CENT developer guide
Official siteUser GuideBlogTwitter
  • Introduction
  • How to Connect Your DApp to D’CENT Mobile App
  • In-app browser (dapp browser)
    • Getting Started
    • EVM compatible networks
    • Klaytn network
    • Tron network
  • Dynamic Link
    • Dynamic Link to In-app Browser
    • EIP-681 : Transaction/Payment Request
  • D'CENT WalletConnect (DWC)
    • Introduction
    • Packages
    • D'CENT WalletConnect
    • Test Environment
    • WalletConnect monorepo
  • Collectibles
    • NFT list on Collectibles tab
  • D'CENT biometric wallet for PC
    • D'CENT SDK for PC Environment
    • dcent-web-connector
      • Configurations
      • Device & Accounts Info.
      • Address & XPUB
      • Ethereum & EVM compatible
      • Klaytn
      • Bitcoin
      • XRPL (XRP Ledger)
      • Hedera (HBAR & HTS)
      • Tron (TRX & TRC20)
      • Stellar
      • Tezos (XTZ & XTZ_FA)
      • Vechain
      • Near (NEAR & Near Token)
      • Havah
      • Polkadot
      • Polkadot Parachain
      • Cosmos & Cosmos compatible network
      • Algorand
    • dcent-cli-connector
      • Configurations
      • Device & Accounts Info.
      • Address & XPUB
      • Ethereum & EVM compatible
      • Hedera (HBAR & HTS)
    • dcent-provider
  • D'CENT BIOMETRIC WALLET FOR Mobile
    • D'CENT SDK for Mobile Environment
    • dcent-biometric-sdk-android
      • Setup
      • Initialize
      • Device & Accrouts Info
      • Address & XPUB
      • Bitcoin
      • Ethereum & EVM compatible
      • Klaytn
      • XRPL
      • Binance
      • Stellar
      • Tron
      • Cardano
      • Hedera
      • Stacks
      • Solana
      • Conflux
      • Polkadot
      • Cosmos
      • Tezos
      • Vechain
      • Near
      • Havah
      • Algorand
    • dcent-biometric-sdk-ios
      • Setup
      • Initialize
      • Device & Accrouts Info
      • Address & XPUB
      • Bitcoin
      • Ethereum & EVM compatible
      • Klaytn
      • XRPL
      • Binance
      • Stellar
      • Tron
      • Cardano
      • Hedera
      • Stacks
      • Solana
      • Conflux
      • Polkadot
      • Cosmos
      • Tezos
      • Vechain
      • Near
      • Havah
      • Algorand
  • D'CENT Integrated Packages
    • Web3Modal
    • web3-onboard
  • Misc.
    • Logo & Brand Guideline
Powered by GitBook
On this page
  • getTezosSignedTransaction
  • Parameters
  • Returns
  • Requirements

Was this helpful?

  1. D'CENT BIOMETRIC WALLET FOR Mobile
  2. dcent-biometric-sdk-ios

Tezos

PreviousCosmosNextVechain

Last updated 1 year ago

Was this helpful?

getTezosSignedTransaction

This function for :

  • .TEZOS - tezos (XTZ)

  • .XTZ_FA - tezos token

  • .TEZOS_TESTNET - tezos testnet (XTZ)

  • .XTZ_FA_TESTNET - tezos testnet token

Parameters

  • coinType: tezos networks coin type

  • tezosTransaction: ()tezos transaction parameter

class TezosTransaction

Name
Type
Description

sigHash

String

transaction that has not been signed of tezos transaction

key

String

sign key path for tezos transaction

fee

String

transaction fee of tezos transaction * fee value is configured in tezos(XTZ) unit.

nonce

String

(optional)transaction nonce of polkadot transaction)

decimals

String

transaction decimals of tezos transaction

symbol

String

transaction symbol of tezos transaction

optionParam

String

(optional)option parameter

Returns

  • result: (Bool) true if successful, false if error occurred

  • txData: signed transaction

Requirements

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

    • (for testnet) 2.24.1 or higher is required.

Example

let tezoseTransaction : TezosTransaction = TezosTransaction(sigHash: "032923211dc76b05a644c88df7507c6f2fd5100cb6ed11c236a270d97dbd53937c6c0021298384724bff62370492fbb56f408bf6f77bcfb905b8d6f804f51219a0e7010000678a5cb8807767a9d900311890526ad77bffbb3900", key: "m/44'/1729'/0'/0/0", fee: "0.000697", decimals: 6, symbol: "XTZ", optionParam: "")

DcentMgr.getTezosSignedTransaction(coinType: .TEZOS, tezosTransaction: tezoseTransaction) { (result, txData) in
    print("Binance Transaction closure")
    if result == false {
        print("FAIL !!!")
    }else{
        print(txData)
    }
}
TezosTransation