Skip to main content

UploadBinary

Upload an executable WASM binary that can run as an indexer

Request Parameters

  • data (required)

    The base64-encoded WASM binary to upload

Response

  • binary_id (string)

    The ID of the uploaded binary

Example Request

{
"jsonrpc": "2.0",
"method": "dyndexer_uploadBinary",
"params": [
{
"data": "<base64-encoded-wasm-binary>"
}
],
}

Example Response

{
"jsonrpc": "2.0",
"result": {
"binary_id": "binary-123456"
}
}