---
# System prepended metadata

title: JRPC

---

# JRPC

## method getLatestKeyBlock

response: base64 boc

## method getContractState
```json
"params":{"address":"0:youraddress"}}
```

reponse: https://github.com/broxus/nekoton/blob/master/src/transport/models.rs#L15

example:
```bash
 curl 'https://extension-api.broxus.com/rpc' \
   -H 'content-type: application/json' \
  --data-raw '{"jsonrpc":"2.0","id":1,"method":"getContractState","params": {"address": "0:388bc635625a3c6f424e493223cd38f4ed756a16ab3f477e2288e4b2dec500af"}}'
```

## method sendMessage
```json
"params":{"message":"base64 encoded boc"}}
```

response: `null | err`

## method getTransactionsList
```json
"params":{"limit":50,"lastTransactionLt":"26492446000001","account":"0:account"}
```
response: list of base64 separated tx boc


## method getTransaction
```json
"params":{"id": "tx hash in hex"}
```

response: base64 encoded tx boc

## method getAccountsByCodeHash
```json
"params":{"limit": "50", "continuation": "address or null", "codeHash": "codehash"}
```

response: list of addresses
