algorand-php
algorand-php copied to clipboard
Problem with method getAccountInformation

Missed $verb parameter

The problem was here. $tokenKey parameter default value is null
Solved by passing 'x-api-key' as third parameter when creating an object of AlgodClient
Strange, because IndexerClient uses default value as 'x-indexer-api-token' and not the same for AlgodClient