There was an error while loading. Please reload this page.
1 parent eab0a80 commit 8b4e378Copy full SHA for 8b4e378
1 file changed
docs/integration.md
@@ -71,12 +71,22 @@ This section describes how to create a valid IBC payload in Golang:
71
3. Define the action and set the attributes:
72
73
```go
74
- action, err := actiontypes.NewFeeAction(
75
- &actiontypes.FeeInfo{
76
- Recipient: feeRecipientAddr,
77
- BasisPoints: basisPoints,
78
- },
79
- )
+ feeBps, err := actiontypes.NewFeeBasisPoints(100) // 1%
+ require.NoError(t, err)
+
+ feeAmount, err := actiontypes.NewFeeAmount("100")
80
+ action, err := actiontypes.NewFeeAction(
81
+ &actiontypes.FeeInfo{
82
+ Recipient: feeRecipientAddr1,
83
+ FeeType: feeBps,
84
+ },
85
86
87
+ FeeType: feeAmount,
88
89
+ )
90
```
91
92
4. Create a wrapped payload:
0 commit comments