UserProfile
Represents an authenticated user in the Dynamic system.Properties
- userId (String) - User’s unique identifier
- email (String?) - User’s email address (optional)
- phoneNumber (String?) - User’s phone number (optional)
Example
toJsonString
Convert user profile to JSON string.BaseWallet
Represents a user’s wallet.Properties
- address (String) - Wallet address (0x… for EVM, base58 for Solana)
- chain (String) - Blockchain type (“EVM” or “SOL”)
- walletName (String?) - Name of the wallet (e.g., “turnkey”)
- id (String?) - Wallet ID for API operations
Example
PhoneData
Phone number data for SMS authentication.Properties
- dialCode (String) - Country dial code (e.g., “+1”)
- iso2 (String) - ISO country code (e.g., “US”)
- phone (String) - Phone number without country code
Example
GenericNetwork
Represents a blockchain network.Properties
- name (String) - Human-readable network name
- chainId (ChainIdValue) - Chain ID (for EVM networks)
- networkId (NetworkIdValue) - Network ID (for Solana networks)
Example
EthereumTransaction
Transaction object for sending EVM transactions.Properties
- to (String) - Recipient address
- value (Int) - Amount to send in Wei
- gasLimit (Int) - Gas limit
- maxFeePerGas (Int) - Maximum fee per gas unit
- maxPriorityFeePerGas (Int) - Priority fee per gas unit
- data (String?) - Transaction data (optional, for contract calls)
Example
WriteContractInput
Input for writing to smart contracts.Properties
- contractAddress (String) - Contract address
- functionName (String) - Name of the function to call
- args ([Any]) - Arguments to pass to the function
- abi (String) - Contract ABI JSON string
Example
SignInWithExternalJwtParams
Parameters for external JWT authentication.Properties
- jwt (String) - The external JWT token
Example
Erc20
ERC20 token utilities.Properties
- abi (String) - Standard ERC20 ABI JSON