Skip to content

Map error before starting the request. #7

Description

@andrasgalli

Hi!

Php version 8.1, and 8.4, Laravel 10.x
I try to call the following:
$account->getTokenAccountsByOwner( 'SolanaWalletAddress', [ 'commitment' => 'finalized', 'encoding' => 'jsonParsed' ]);

And get the following error:
RPC Error: Invalid params: invalid value: map, expected map with a single key. ..... RPC Error: Invalid params: invalid value: map, expected map with a single key. at /vendor/josephopanel/solana-php-sdk/src/SolanaRPC.php:41

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions