getSignaturesForAddress RPC-methode

Retourneert handtekeningen voor bevestigde transacties die het opgegeven adres bevatten in hun accountKeys lijst. Retourneert handtekeningen terug in de tijd vanaf de opgegeven handtekening of het meest recente bevestigde blok

$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getSignaturesForAddress",
> "params": [
> "Vote111111111111111111111111111111111111111",
> {
> "commitment": "finalized",
> "limit": 1
> }
> ]
> }
> '

params

stringrequired

Accountadres als base-58 gecodeerde string

objectoptional

Configuratieobject met de volgende velden:

result

Response
{
"jsonrpc": "2.0",
"result": [
{
"signature": "5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv",
"slot": 114,
"err": null,
"memo": null,
"blockTime": null,
"confirmationStatus": "finalized"
}
],
"id": 1
}
array

Een array van transactiehandtekening-informatieobjecten, geordend van nieuwste naar oudste transactie, die het volgende bevat:

Is this page helpful?