github.com/algorand/go-algorand-sdk@v1.24.0/client/kmd/common.go (about) 1 package kmd 2 3 import ( 4 "github.com/algorand/go-algorand-sdk/types" 5 ) 6 7 // APIV1Wallet is the API's representation of a wallet 8 type APIV1Wallet struct { 9 ID string `json:"id"` 10 Name string `json:"name"` 11 DriverName string `json:"driver_name"` 12 DriverVersion uint32 `json:"driver_version"` 13 SupportsMnemonicUX bool `json:"mnemonic_ux"` 14 SupportedTransactions []types.TxType `json:"supported_txs"` 15 } 16 17 // APIV1WalletHandle includes the wallet the handle corresponds to 18 // and the number of number of seconds to expiration 19 type APIV1WalletHandle struct { 20 Wallet APIV1Wallet `json:"wallet"` 21 ExpiresSeconds int64 `json:"expires_seconds"` 22 }