from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://YOUR_QUICKNODE_ENDPOINT_HERE.com"))
resp = w3.provider.make_request(
'zr_signTx',
[{"payload":"02f383aa36a7028459682f00851086908c3982520894d5a0f8ec2dd398bbf73d163a28c2c56bfd28b31585e8d4a5100080c0808080", "key_id":10}]
)
print(resp)
require 'eth'
client = Eth::Client.create "https://YOUR_QUICKNODE_ENDPOINT_HERE.com"
payload = {
"id":1,
"jsonrpc":"2.0",
"method":"zr_signTx",
"params": [{"payload":"02f383aa36a7028459682f00851086908c3982520894d5a0f8ec2dd398bbf73d163a28c2c56bfd28b31585e8d4a5100080c0808080", "key_id":10}]
}
response = client.send(payload.to_json)
puts response
const ethers = require("ethers");
(async () : {
const provider = new ethers.providers.JsonRpcProvider("https://YOUR_QUICKNODE_ENDPOINT_HERE.com");
const network = await provider.send(
"zr_signTx",
[{"payload":"02f383aa36a7028459682f00851086908c3982520894d5a0f8ec2dd398bbf73d163a28c2c56bfd28b31585e8d4a5100080c0808080", "key_id":10}]
);
console.log(network);
})();
curl https://YOUR_QUICKNODE_ENDPOINT_HERE.com \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"zr_signTx","params": [{"payload":"02f383aa36a7028459682f00851086908c3982520894d5a0f8ec2dd398bbf73d163a28c2c56bfd28b31585e8d4a5100080c0808080", "key_id":10}],"id":1,"jsonrpc":"2.0"}'