Skip to main content
POST

Body

application/json

intent_account, or intent_id (the old backend's name).

intent_account
string
required

A NEAR Intents account: a NEAR account (alice.near, a 64-hex implicit account), an EVM address, or a base58 32-byte key (a Solana address, taken as its hex implicit account).

Examples:

"alice.near"

"0xe4df1d74122c2a7b14481cbdde704fbd0a4f11a2"

intent_id
string

A NEAR Intents account: a NEAR account (alice.near, a 64-hex implicit account), an EVM address, or a base58 32-byte key (a Solana address, taken as its hex implicit account).

Examples:

"alice.near"

"0xe4df1d74122c2a7b14481cbdde704fbd0a4f11a2"

Response

The account's receivers.

intent_account
string
required

The account, normalized.

deposit_hash
string
required

The receiver deposits carry: base58 of sha256 of the DepositCallArgs JSON.

Pattern: ^[1-9A-HJ-NP-Za-km-z]+$
legacy_hash
string
required

The receiver old deposits carry: base58 of sha256("intents.near" ‖ msg).

Pattern: ^[1-9A-HJ-NP-Za-km-z]+$
status
enum<string>
required

ok: kept now. already_cached: kept before. not_recorded: no database.

Available options:
ok,
already_cached,
not_recorded