Gets all of the Portal client’s relevant details, such as their wallet addresses, their signing share pairs’ statuses, their backup share pairs’ statuses, and more.
Creates an unsigned eip155/solana transaction for transferring assets to another address on a specific chain. You can then use this unsigned eip155/solana transaction to sign and submit the eip155/solana transaction.
Copy
Ask AI
const txDetails = await portal.buildTransaction( 'sepolia', // Friendly chain or CAIP-2 chainId '0xDestinationAddress', 'USDC', // Friendly token name, or token address (mint address for Solana) '1', // Sends 1 USDC)
Looking for more functionality? Explore our other Client API endpoints here.