github.com/stafiprotocol/go-substrate-rpc-client@v1.4.7/client/stafi_tx.go (about)

     1  package client
     2  
     3  import (
     4  	"github.com/stafiprotocol/go-substrate-rpc-client/config"
     5  	"github.com/stafiprotocol/go-substrate-rpc-client/types"
     6  )
     7  
     8  func (gc *GsrpcClient) UpdateRethClaimInfo(txHashs, pubkeys [][]byte, mintValues, nativeValues []types.U128) error {
     9  	ext, err := gc.NewUnsignedExtrinsic(config.MethodUpdateRethClaimInfo, txHashs, pubkeys, mintValues, nativeValues)
    10  	if err != nil {
    11  		return err
    12  	}
    13  	return gc.SignAndSubmitTx(ext)
    14  }