Solana (Solana v0.1.2) View Source
A library for interacting with the Solana blockchain.
Link to this section Summary
Functions
Decodes or extracts a Solana.Key.t/0 from a Base58-encoded string or a
Solana.Key.pair/0.
Decodes or extracts a Solana.Key.t/0 from a Base58-encoded string or a
Solana.Key.pair/0.
The public key for the RecentBlockhashes system variable
The public key for the Rent system variable.
Link to this section Types
Specs
key() :: Solana.Key.t()
See Solana.Key.t/0
Specs
keypair() :: Solana.Key.pair()
Link to this section Functions
Decodes or extracts a Solana.Key.t/0 from a Base58-encoded string or a
Solana.Key.pair/0.
Returns {:ok, key} if the key is valid, or an error tuple if it's not.
Decodes or extracts a Solana.Key.t/0 from a Base58-encoded string or a
Solana.Key.pair/0.
Throws an ArgumentError if it fails to retrieve the public key.
The public key for the RecentBlockhashes system variable
The public key for the Rent system variable.