Appearance
List signed messages by account
| GET | /signed-messages |
Query parameters
| Name | Type | Description | Required |
|---|---|---|---|
page | number | Which page to fetch min: 1, max: 9007199254740991 | |
pageSize | number | Page size to use min: 1, max: 30 | |
accountId | string | Id of the target account | ✅ |
Response schema
{};}>;}
// Current page
page: number;// Next page or null if there is none
next: number | null;// Previous page or null if there is none
prev: number | null;// Max count of items per page
pageSize: number;// Total count of items
total: number;// Array of results
results: Array<{// Unique identifier
id: string;// Type of the message to sign
type: "EIP191" | "EIP712";// Hex data to sign, either a json string for EIP712, or a raw string for EIP191
data: string;// Address of the signing key
address: string;// Derivation path of the signing key
derivationPath: string;// Signature of the message
signature: {// Signed digest
digest: string | null;// Derivation path used to sign the digest
derivationPath: string | null;// Base64 encoded signature r coordinate
r: string;// Base64 encoded signature s coordinate
s: string;// Ecdsa only, signature recovery value
v: |
|
| null// Hex string encoded DER signature format (for eddsa, concatenation of r & s)
der: string;// Public key for signature verification, 32 or 33 bytes
pubkey: string | null;// ID of the creator
createdById: string;// Creation timestamp
createdAt: string;Examples
bash
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {jwt}" \
"$API_BASE_URL/signed-messages"ts
const url = "<base-url>/signed-messages";
const headers = {
"Content-Type": "application/json",
Authorization: "Bearer <jwt>"
};
fetch(url, { headers }).then(res => {
console.log(res)
});python
import requests
url = "<base-url>/signed-messages"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <jwt>"
}
print(requests.get(url, headers=headers))