Skip to main content

Module ops

Module ops 

Source

Functions§

create_wallet
Create a new universal wallet: generates mnemonic, derives addresses for all chains, encrypts, and saves to vault.
delete_wallet
Delete a wallet from the vault.
derive_address
Derive an address from a mnemonic phrase for the given chain.
export_wallet
Export a wallet’s secret. Mnemonic wallets return the phrase. Private key wallets return JSON with both keys.
generate_mnemonic
Generate a new BIP-39 mnemonic phrase.
get_wallet
Get a single wallet by name or ID.
import_wallet_mnemonic
Import a wallet from a mnemonic phrase. Derives addresses for all chains.
import_wallet_private_key
Import a wallet from a hex-encoded private key. The chain parameter specifies which chain the key originates from (e.g. “evm”, “solana”). A random key is generated for the other curve so all 6 chains are supported.
list_wallets
List all wallets in the vault.
rename_wallet
Rename a wallet.
sign_and_send
Sign and broadcast a transaction. Returns the transaction hash.
sign_encode_and_broadcast
Sign, encode, and broadcast a transaction using an already-resolved private key.
sign_message
Sign a message. Returns hex-encoded signature.
sign_transaction
Sign a transaction. Returns hex-encoded signature.