state.RevokeGrantFee RPC Method
Parameters
grantee
string
REQUIRED
The account address of the grantee from whom the grant is being revoked
object
object
REQUIRED
An object with the following fields:
gas_price
integer
The cost per gas unit for executing the transaction.
is_gas_price_set
boolean
Indicates if the gas price has been explicitly defined.
gas
integer
The maximum gas allocated for the transaction.
key_name
string
Identifier for the key used to sign the transaction
signer_address
string
REQUIRED
The address responsible for signing the transaction
fee_granter_address
string
The address covering the transaction fee on behalf of the signer.
Returns
result
object
The result object which contains the following fields:
height
integer
The block height at which the transaction was included
txhash
string
The unique hash of the transaction
data
string
Encoded data of the transaction response
raw_log
string
Stringified JSON log of raw transaction events
logs
array
An array of logs
msg_index
integer
Index of the message within the transaction
events
array
An array of events, which contains the following fields:
type
string
The type of event triggered
attributes
array
Key-value attributes associated with the event
key
string
The attribute key within the event
value
string
The value associated with the attribute key
gas_wanted
string
Gas limit requested for the transaction
gas_used
string
The amount of gas consumed by the transaction
events
array
Events triggered at the transaction level
type
string
The type of the transaction-level event.
attributes
array
Attributes of the transaction-level event
key
string
The encoded key for the attribute.
value
string
The value associated with the attribute key
index
string
Boolean indicating if the attribute is indexed
Request
1curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"id": 1,5"jsonrpc": "2.0",6"method": "state.RevokeGrantFee",7"params": [8"GRANTEE_ADDRESS",9{10"gas_price": 0.002,11"is_gas_price_set": true,12"gas": 142225,13"key_name": "YOUR_CELESTIA_KEYS",14"signer_address": "GRANTER_ADDRESS",15"fee_granter_address": "GRANTER_ADDRESS"16}17]18}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free