For the complete documentation index, see llms.txt. This page is also available as Markdown.

Errors

The NEO dAPI will provide these basic errors. It is up to the wallet provider to provide additional information if they choose:

Error Type
Meaning

NO_PROVIDER

Thrown when there is no interface capable of interacting with NEO blockchain

CONNECTION_DENIED

Thrown when API provider refuses to execute a transaction (e.g. trying to execute a transaction on an unavialable network)

RPC_ERROR

Thrown when a command relying on RPC connection to a network node fails

MALFORMED_INPUT

Thrown when an input such as the address is not a valid NEO address

CANCELED

Thrown when a user cancels, or refuses the dapps request

INSUFFICIENT_FUNDS

Thrown when the action does not have a sufficient balance

CHAIN_NOT_MATCH

The currently opened chain does not match the type of the call chain, please switch the chain

SCRIPT_ERROR

Script creation error, please check whether the parameters are correct

FAIL

The request failed

最后更新于