Usage Overview
This section provides a comprehensive overview of the functions available in the Typescript SDK. These functions empower you to interact seamlessly with the Okto platform—from initiating transaction operations to retrieving data related to accounts, portfolios, and more.
Core Functions
UserOp
Understanding UserOp
Learn about user operations and best practices
signUserOp
Sign user operations for transaction integrity
executeUserOp
Submit signed operations to the blockchain
estimate
Calculate gas and fee estimates for transactions
Explorer Functions
getAccount
Retrieve detailed account and wallet information
getChains
Get list of supported blockchain networks
getNftCollections
Browse and verify NFT collections
getOrdersHistory
View historical transactions and orders
getPortfolio
Get aggregated token holdings across chains
getPortfolioActivity
Track recent portfolio changes and transactions
getPortfolioNFT
View NFT holdings and metadata
getTokens
List available tokens and their details
Intents
Understanding Intents
Learn about intents
nftCreateCollection
Create new NFT collections efficiently
nftTransfer
Transfer NFTs between wallets
tokenTransfer
Transfer fungible tokens between wallets
rawTransaction
Create custom EVM transactions
Conclusion
Together, these functions provide a robust, developer-friendly toolkit designed to cover all essential interactions with the Okto ecosystem. Whether you need to execute secure transactions, query account and portfolio data, or perform token and NFT operations, the Typescript SDK has you covered.
Happy building with Okto!