github.com/Finschia/finschia-sdk@v0.48.1/x/bank/spec/04_events.md (about) 1 <!-- 2 order: 4 3 --> 4 5 # Events 6 7 The bank module emits the following events: 8 9 ## Handlers 10 11 ### MsgSend 12 13 | Type | Attribute Key | Attribute Value | 14 |----------|---------------|--------------------| 15 | transfer | recipient | {recipientAddress} | 16 | transfer | sender | {senderAddress} | 17 | transfer | amount | {amount} | 18 | message | sender | {senderAddress} | 19 | message | module | bank | 20 21 ### MsgMultiSend 22 23 | Type | Attribute Key | Attribute Value | 24 |----------|---------------|--------------------| 25 | message | sender | {senderAddress} | 26 | transfer | recipient | {recipientAddress} | 27 | transfer | amount | {amount} | 28 | message | module | bank | 29 30 ## Keeper events 31 32 In addition to handlers events, the bank keeper will produce events when the following methods are called (or any method which ends up calling them) 33 34 ### MintCoins 35 36 ```json 37 { 38 "type": "coinbase", 39 "attributes": [ 40 { 41 "key": "minter", 42 "value": "{{sdk.AccAddress of the module minting coins}}", 43 "index": true 44 }, 45 { 46 "key": "amount", 47 "value": "{{sdk.Coins being minted}}", 48 "index": true 49 } 50 ] 51 } 52 ``` 53 54 ```json 55 { 56 "type": "coin_received", 57 "attributes": [ 58 { 59 "key": "receiver", 60 "value": "{{sdk.AccAddress of the module minting coins}}", 61 "index": true 62 }, 63 { 64 "key": "amount", 65 "value": "{{sdk.Coins being received}}", 66 "index": true 67 } 68 ] 69 } 70 ``` 71 72 ### BurnCoins 73 74 ```json 75 { 76 "type": "burn", 77 "attributes": [ 78 { 79 "key": "burner", 80 "value": "{{sdk.AccAddress of the module burning coins}}", 81 "index": true 82 }, 83 { 84 "key": "amount", 85 "value": "{{sdk.Coins being burned}}", 86 "index": true 87 } 88 ] 89 } 90 ``` 91 92 ```json 93 { 94 "type": "coin_spent", 95 "attributes": [ 96 { 97 "key": "spender", 98 "value": "{{sdk.AccAddress of the module burning coins}}", 99 "index": true 100 }, 101 { 102 "key": "amount", 103 "value": "{{sdk.Coins being burned}}", 104 "index": true 105 } 106 ] 107 } 108 ``` 109 110 ### addCoins 111 112 ```json 113 { 114 "type": "coin_received", 115 "attributes": [ 116 { 117 "key": "receiver", 118 "value": "{{sdk.AccAddress of the address beneficiary of the coins}}", 119 "index": true 120 }, 121 { 122 "key": "amount", 123 "value": "{{sdk.Coins being received}}", 124 "index": true 125 } 126 ] 127 } 128 ``` 129 130 ### subUnlockedCoins/DelegateCoins 131 132 ```json 133 { 134 "type": "coin_spent", 135 "attributes": [ 136 { 137 "key": "spender", 138 "value": "{{sdk.AccAddress of the address which is spending coins}}", 139 "index": true 140 }, 141 { 142 "key": "amount", 143 "value": "{{sdk.Coins being spent}}", 144 "index": true 145 } 146 ] 147 } 148 ```