[][src]Crate grin_wallet_api

Higher level wallet functions which can be used by callers to operate on the wallet, as well as helpers to invoke and instantiate wallets and listeners

Structs

ECDHPubkey

Wrapper for ECDH Public keys

Ed25519SecretKey

Wrapper for Secret Keys

EncryptedRequest

Wrapper for secure JSON requests

EncryptedResponse

Wrapper for secure JSON requests

EncryptionErrorResponse

Wrapper for encryption error responses

Foreign

Main interface into all wallet API functions. Wallet APIs are split into two seperate blocks of functionality called the 'Owner' and 'Foreign' APIs

Owner

Main interface into all wallet API functions. Wallet APIs are split into two seperate blocks of functionality called the 'Owner' and 'Foreign' APIs

Token

Wrapper for API Tokens

Enums

ForeignCheckMiddlewareFn

Middleware Identifiers for each function

JsonId

Represents a compliant JSON RPC 2.0 id. Valid id: Integer, String.

foreign_rpc_client

Helper module for jsonrpc clients. Automatically generated by easy-jsonrpc.

Traits

ForeignRpc

Public definition used to generate Foreign jsonrpc api.

OwnerRpc

Public definition used to generate Owner jsonrpc api. Secure version containing wallet lifecycle functions. All calls to this API must be encrypted. See init_secure_api for details of secret derivation and encryption.

Functions

run_doctest_foreign

helper to set up a real environment to run integrated doctests

run_doctest_owner

helper to set up a real environment to run integrated doctests

try_slatepack_sync_workflow

attempt to send slate synchronously, starting with TOR and downgrading to HTTP

Type Definitions

ForeignCheckMiddleware

ForeignAPI Middleware Check callback