intents_get
const url = 'https://example.com/intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Get a stored intent by its ID.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique identifier for an intent, assigned by the caller.
Intent ID
Responses
Section titled “ Responses ”Intent found
A user-signed message
object
The data payload that is being signed.
object
Attribute values that parameterize the template.
object
object
Unique identifier for this intent.
ID of the template that defines the rules for fulfilling this intent.
Ed25519 signature
object
Ed25519 signature
object
The [PubKey] of the signer
The [Signature]
Passkey signature
object
Passkey signature
object
The bs58-encoded bytes of the authenticator data.
String containing the client data JSON.
This field is a string because JSON does not define property order, and we must guarantee that the UTF8 bytes of this string are exactly the same as those used by the passkey device.
ECDSA Public Key
ECDSA signature
Multisig signature
object
Multisig signature
object
The multisig descriptor to be checked against
object
The list of signers and their associated weight
object
The threshold above which a subset of the signers can emit a valid signature
The list of signatures
Ed25519 signature
object
Ed25519 signature
object
The [PubKey] of the signer
The [Signature]
Passkey signature
object
Passkey signature
object
The bs58-encoded bytes of the authenticator data.
String containing the client data JSON.
This field is a string because JSON does not define property order, and we must guarantee that the UTF8 bytes of this string are exactly the same as those used by the passkey device.
ECDSA Public Key
ECDSA signature
Example generated
{ "payload": { "attrs": { "fields": { "additionalProperty": "example" } }, "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "template_id": "example" }, "signature": { "Ed25519": { "pub_key": "example", "signature": "example" } }}Intent not found
object
Example generated
{ "message": "example"}Internal error
object
Example generated
{ "message": "example"}