Function parse_account_id

Source
pub fn parse_account_id(
    account_id: &str,
) -> Result<AccountId, StellarTransactionUtilsError>
Expand description

Parse a Stellar account address string into an AccountId XDR type.

§Arguments

  • account_id - Stellar account address (must be valid PublicKey)

§Returns

AccountId XDR type or error if address is invalid