Optional
private_key: stringPrivate key. 64 character hex string (32 bytes)
Optional
work_function: WorkFunctionSeed index. Seeds can have multiple private keys and addresses
Readonly
rpcReadonly
seedOptional
work_Optional
include_confirmed: booleanOptional
representative: booleanOptional
weight: booleanOptional
pending: booleanOptional
count: numberOptional
threshold: `${number}`Optional
source: booleanOptional
block_hash: stringsend block to receive
Optional
gen_work: booleanwhether or not to call work function to generate work
Optional
representative: `ban_${string}` | `nano_${string}`optionally provide a representative if you do not want to use the current representative receive bananos from a specific send block
Optional
count: number = 20Max amount of blocks to receive receive all (up to count and exceeding threshold if applicable) receivable blocks
Optional
threshold: `${number}`Min amount of Banano to receive in whole
Optional
gen_work: booleanwhether or not to call work function to generate work Receive all receivable transactions (up to count, and over threshold
Optional
to: `ban_${string}` | `nano_${string}`address to send to
Optional
amount: `${number}`amount in whole bananos to send
Optional
gen_work: booleanwhether or not to call work function to generate work
Optional
representative: `ban_${string}` | `nano_${string}`optionally provide a representative if you do not want to use the current representative
Optional
cached_account_info: AccountInfoRPCcan save one rpc call in some cases. Mostly for internal use. Make sure that in the RPC call, "representative" is "true" Send Bananos
Static
gen_Generate a cryptographically secure random wallet using crypto.getRandomValues
Does everything a
Wallet
can do, except a private key is put in instead of a seed, and so limited to one address. Means changing.index
will not do anything obviously.