Argent
  • Build with Argent
  • Argent Wallets
    • Argent X
      • Adding Custom RPCs
      • Network Switcher for Dapps
      • Verify signature of undeployed account
      • WalletAccount
    • Argent Mobile
      • Argent Mobile for your web app
      • Argent Mobile for your react native app
    • Web Wallet
      • Set up guide
      • Web Wallet UX
      • API reference
      • Key Management
    • Argent Multisig
      • How multisig works
      • Create a multisig
        • With Argent signer
        • With Ledger signer
      • Join a multisig
        • With Argent signer
        • With Ledger signer
      • Replace a multisig signer
      • Airgap
    • Telegram wallet (DEPRECATED)
  • TOOLS
    • 🎨STARKNETKIT
    • ✨Invisible SDK
      • Implementation
      • Other useful endpoints
      • Types and interfaces
      • Gas abstraction
  • Example Dapps
    • StarknetKit + Session keys Demo dapp
  • AA Use Cases
    • Session Keys
      • Implement session keys
      • Session keys with outside execution
      • Demo App
      • FAQ
      • Types
    • Paymasters
    • Verifying signatures and cosigners
      • Identifying a smart account onchain
    • Multicalls
    • Outside Execution
    • Deploy accounts on behalf of users
  • Optimize your Dapp
    • Dappland
    • Known dapps
    • Transaction reviews
    • Brand your token
  • Other Products
    • Argent Card
    • Spoks
    • Perkz
    • Argent Vault on Ethereum L1
  • SUPPORT & RESSOURCES
    • Contracts and audits
    • Get in touch
Powered by GitBook
On this page

Was this helpful?

  1. TOOLS
  2. Invisible SDK

Other useful endpoints

The account object returned by the SDK is an extended starknet.js account object. It contains functions that might be useful for you.

  1. Outside execution

This function accepts a list of Call objects and returns the calldata/payload required to perform an execute_from_outside .

await account.getOutsideExecutionPayload({calls: [calls]})
  1. Sign Messages from outside

Takes a typedData object and a list of Call .

Returns

await account.signMessageFromOutside(typedData, [calls])
  1. Deployment of account

By default, Argent subsidises the deployment of all the accounts. If the deployment fails on our side, it is possible to deploy the account for your users. You can get the deployment data either from the returned object of the connect() function of the SDK or from this endpoint:

await account.getDeploymentPayload()

This will return a DeployAccountContractPayload which will allow you to deploy the account as explained here: Deploy accounts on behalf of users

PreviousImplementationNextTypes and interfaces

Last updated 2 months ago

Was this helpful?

✨