tagion_wallet_read_wallet

Read an already existing wallet based on wallet file buffers

version(none)
extern (C)
int
tagion_wallet_read_wallet
(,
const uint8_t* device_pin_buf
,
const size_t device_pin_buf_len
,
const uint8_t* recover_generator_buf
,,
const uint8_t* account_buf
,
const size_t account_buf_len
)

Parameters

wallet_instance const(WalletT*)

instance to the wallet

device_pin_buf uint8_t*

pointer to the DevicePIN

device_pin_buf_len size_t

length of the DevicePIN buf

recover_generator_buf uint8_t*

pointer to the RecoverGenerator

recover_generator_buf_length size_t

length of the RecoverGenerator buf

account_buf uint8_t*

pointer to the AccountDetails

account_buf_len size_t

length of the AccountDetails buffer

Return Value

Type: int

ErrorCode