/cosmos/tx/v1beta1/txs
GetTxsEvent fetches txs by event.
Parameters:
event - array[string], events is the list of transaction event type.
Example:
// Request
curl -X GET -H 'Content-Type: application/json' https://froopyland.blockpi.network/lcd/v1/<your-api-key>/cosmos/tx/v1beta1/txs?events=message.sender=%27dym1qqdt5uy87jdpxhlmzgdyq6zyz6pya8p5hcc8ts%27
// Result
{
"pagination": null,
"total": "6",
"tx_responses": [
{
"code": 0,
"codespace": "",
"data": "12380A312F6962632E6170706C69636174696F6E732E7472616E736665722E76312E4D73675472616E73666572526573706F6E7365120308F65C",
"events": [
{
"attributes": [
{
"index": true,
"key": "c3BlbmRlcg==",
"value": "ZHltMXFxZHQ1dXk4N2pkcHhobG16Z2R5cTZ6eXo2cHlhOHA1aGNjOHRz"
},
{
"index": true,
"key": "YW1vdW50",
"value": "NjE2OTV1ZHlt"
}
],
"type": "coin_spent"
},
{
"attributes": [
{
"index": true,
"key": "cmVjZWl2ZXI=",
"value": "ZHltMTd4cGZ2YWttMmFtZzk2MnlsczZmODR6M2tlbGw4YzVsenkweHdu"
},
{
"index": true,
"key": "YW1vdW50",
"value": "NjE2OTV1ZHlt"
}
],
"type": "coin_received"
},
......
}
Previous/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegationsNext/cosmos/tx/v1beta1/txs/{hash}
Last updated