Skip to main content

GetTransactionSignWeight gRPC Method

Allows you to get transaction sign weight

Updated on
May 13, 2025

GetTransactionSignWeight gRPC Method

Parameters

raw_data
object
The raw transaction data, including the contract and its parameters
ref_block_bytes
string
The bytes of the previous block hash
ref_block_num
integer
The reference block number
ref_block_hash
string
The hash of the previous block
expiration
integer
The expiration time of the transaction
auths
array
Authorization information
data
string
Additional data associated with the transaction (not used)
contract
array
The details of the smart contracts involved in the transaction
type
string
The type of smart contract (enum: Transaction_Contract_ContractType)
parameter
object
The parameters of the smart contract function being called in the transaction
value
string
The actual data of the contract
type_url
string
The type of data being represented by the parameter
provider
string
The provider of the contract
ContractName
string
The name of the contract
Permission_id
integer
The permission ID for the contract
scripts
string
Script data associated with the transaction (not used)
timestamp
integer
The timestamp of the transaction
fee_limit
integer
The maximum fee limit for the transaction
signature
array
The signatures associated with the transaction
ret
array
The result of the transaction
fee
integer
The fee paid for the transaction
ret
string
The result code of the transaction
contractRet
string
The contract result of the transaction
assetIssueID
string
The ID of the asset issued
withdraw_amount
integer
The amount withdrawn (if applicable)
unfreeze_amount
integer
The amount unfrozen (if applicable)
exchange_id
integer
The exchange ID (if applicable)
orderId
string
The order ID (if applicable)
orderDetails
array
Details of market orders (if applicable)
withdraw_expire_amount
integer
The expired withdrawal amount (if applicable)

Returns

permission
object
The permission details required for the transaction
type
string
The type of permission (enum: Permission_PermissionType)
id
integer
The permission ID (Owner id=0, Witness id=1, Active id start by 2)
permission_name
string
The name of the permission
threshold
integer
The threshold required for the permission
parent_id
integer
The ID of the parent permission
operations
string
The operations allowed by this permission (1 bit 1 contract)
keys
array
The keys associated with this permission
address
string
The account address
weight
integer
The weight of this key
approved_list
array
List of approved addresses
current_weight
integer
The current signature weight accumulated
result
object
The result of the sign weight evaluation
code
string
The result code (enum: TransactionSignWeight_ResultResponseCode)
message
string
The result message
transaction
object
Extended transaction information
transaction
object
The original transaction object
raw_data
object
The raw transaction data
ref_block_bytes
string
The bytes of the previous block hash
ref_block_num
integer
The reference block number
ref_block_hash
string
The hash of the previous block
expiration
integer
The expiration time of the transaction
auths
array
Authorization information
data
string
Additional data associated with the transaction (not used)
contract
array
The details of the smart contracts involved in the transaction
scripts
string
Script data associated with the transaction (not used)
timestamp
integer
The timestamp of the transaction
fee_limit
integer
The maximum fee limit for the transaction
signature
array
The signatures associated with the transaction
ret
array
The results of the transaction execution
txid
string
The transaction ID (sha256 hash of transaction.rowdata)
constant_result
array
Results of constant function calls
result
object
The result of the transaction execution
result
boolean
Whether the transaction was successful
code
string
The result code
message
string
The result message
energy_used
integer
The amount of energy used
logs
array
The logs generated during transaction execution
address
string
The address that generated the log
topics
array
The topics of the log
data
string
The data contained in the log
internal_transactions
array
Internal transactions triggered by this transaction
hash
string
The hash of the internal transaction
caller_address
string
The address of the caller
transferTo_address
string
The address of the recipient
callValueInfo
array
Information about the call value
callValue
integer
The amount of TRX transferred
tokenId
string
The ID of the token transferred
note
string
Additional notes about the internal transaction
rejected
boolean
Whether the internal transaction was rejected
extra
string
Extra information about the internal transaction
energy_penalty
integer
The energy penalty incurred
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free