Narval | Docs
GithubHome
  • Narval Connect
    • Overview
    • Getting Started
  • Security Overview
  • Providers
    • Providers
      • Anchorage
      • BitGo
      • Coinbase Prime
      • Fireblocks
      • HexTrust
  • Guide
    • ConnectClient
    • Connect Widget
      • initiateConnect
      • completeConnect
    • Using a Connection
      • listWallets
      • getWalletById
      • listAccounts
      • getAccountById
      • listAddresses
      • getAddressById
      • listKnownDestinations
      • sendTransfer
      • getTransfer
      • EVM Transactions
        • sendTransaction
        • getTransactionById
        • signMessage
        • getSignMessageById
        • signTypedData
        • getTypedDataById
      • Staking
        • Ethereum (ETH)
        • Polygon (POL)
        • Solana (SOL)
        • Sui (SUI)
      • Raw Signing
        • signRaw
        • getRawSignRequest
    • Manage Connections
      • listConnections
      • getConnection
      • revokeConnection
  • API Reference
    • REST API
      • Authorization
      • Connect Widget
      • Networks & Assets
      • Wallets, Accounts, Addresses
      • Known Destinations
      • Transfer
      • Stake
        • Ethereum
        • Polygon
        • Solana
        • Sui
      • Transactions
        • Ethereum (EVM)
      • Raw Signing
      • Transit Encryption Key
      • Manage Connections
Powered by GitBook
On this page
  1. Guide
  2. Connect Widget

completeConnect

See Getting Started for a full overview of the Connect Widget flow.

connectClient.completeConnect(params) ⇒

Completes a connection process using continue token and interaction reference.

Kind: instance method of ConnectClient Returns: Object containing the access token Throws:

  • ArmorySdkException If there's an error completing the connection

Param
Description

params

Parameters for completing the connection

params.continueToken

Token for continuing the connection process

params.interactRef

Interaction reference for verification

Example

const data = await connectClient.completeConnect({
  continueToken: '2b5dd094-8e8d-4dc5-b378-47c3aeb2f088',
  interactRef: '7a91b3c4-955f-42eb-8cd1-3d79d0a145bc'
});
PreviousinitiateConnectNextUsing a Connection

Last updated 1 month ago