API Reference
AnyaltWidget Props
Prop Name
Type
Description
Token Object Structure
interface Token {
symbol: String, // e.g., "USDT"
address: String, // Blockchain address of the token
chainId: Number, // Identifier for the blockchain network
name: String, // Human-readable name of the token
chainType: ChainType, // Type of blockchain, e.g., ChainType.EVM
logoUrl?: String, // (Optional) URL for the token’s logo
amount?: string, // (Optional)
decimals?: string, // (Optional)
}ChainType
widgetTemplate
Callbacks
estimateCallback(inputToken)
executeCallBack(token)
Modal Control: useModal Hook
Last updated