Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
ChainID ChainID
}
func NewBuilder ¶
func (*Builder) NewTransaction ¶
func (b *Builder) NewTransaction(data DataInterface) (Interface, error)
type DataInterface ¶
type DataInterface interface {
// contains filtered or unexported methods
}
type EncodeInterface ¶
type Interface ¶
type Interface interface { EncodeInterface SetSignatureType(signatureType SignatureType) Interface SetNonce(nonce uint64) Interface SetGasCoin(name string) Interface SetGasPrice(price uint8) Interface SetPayload(payload []byte) Interface Sign(prKey string, multisigPrKeys ...string) (SignedTransaction, error) // contains filtered or unexported methods }
type SendData ¶
func NewSendData ¶
func NewSendData() *SendData
type SignedTransaction ¶
type SignedTransaction interface { EncodeInterface Fee() *big.Int Hash() (string, error) Sign(prKey string, multisigPrKeys ...string) (SignedTransaction, error) }
Click to show internal directories.
Click to hide internal directories.