Documentation ¶
Index ¶
- type TransactionsAPI
- func (_m *TransactionsAPI) FeeEstimate(ctx context.Context, platform string, network string) ubiquity.ApiFeeEstimateRequest
- func (_m *TransactionsAPI) FeeEstimateExecute(r ubiquity.ApiFeeEstimateRequest) (ubiquity.FeeEstimate, *http.Response, error)
- func (_m *TransactionsAPI) GetTx(ctx context.Context, platform string, network string, id string) ubiquity.ApiGetTxRequest
- func (_m *TransactionsAPI) GetTxByHashAndIndex(ctx context.Context, platform string, network string, id string, index int32) ubiquity.ApiGetTxByHashAndIndexRequest
- func (_m *TransactionsAPI) GetTxByHashAndIndexExecute(r ubiquity.ApiGetTxByHashAndIndexRequest) (ubiquity.TxOutput, *http.Response, error)
- func (_m *TransactionsAPI) GetTxConfirmations(ctx context.Context, platform string, network string, id string) ubiquity.ApiGetTxConfirmationsRequest
- func (_m *TransactionsAPI) GetTxConfirmationsExecute(r ubiquity.ApiGetTxConfirmationsRequest) (ubiquity.TxConfirmation, *http.Response, error)
- func (_m *TransactionsAPI) GetTxExecute(r ubiquity.ApiGetTxRequest) (ubiquity.Tx, *http.Response, error)
- func (_m *TransactionsAPI) GetTxs(ctx context.Context, platform string, network string) ubiquity.ApiGetTxsRequest
- func (_m *TransactionsAPI) GetTxsExecute(r ubiquity.ApiGetTxsRequest) (ubiquity.TxPage, *http.Response, error)
- func (_m *TransactionsAPI) TxSend(ctx context.Context, platform string, network string) ubiquity.ApiTxSendRequest
- func (_m *TransactionsAPI) TxSendExecute(r ubiquity.ApiTxSendRequest) (ubiquity.TxReceipt, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionsAPI ¶
TransactionsAPI is an autogenerated mock type for the TransactionsAPI type
func NewTransactionsAPI ¶ added in v1.1.0
func NewTransactionsAPI(t testing.TB) *TransactionsAPI
NewTransactionsAPI creates a new instance of TransactionsAPI. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*TransactionsAPI) FeeEstimate ¶
func (_m *TransactionsAPI) FeeEstimate(ctx context.Context, platform string, network string) ubiquity.ApiFeeEstimateRequest
FeeEstimate provides a mock function with given fields: ctx, platform, network
func (*TransactionsAPI) FeeEstimateExecute ¶
func (_m *TransactionsAPI) FeeEstimateExecute(r ubiquity.ApiFeeEstimateRequest) (ubiquity.FeeEstimate, *http.Response, error)
FeeEstimateExecute provides a mock function with given fields: r
func (*TransactionsAPI) GetTx ¶
func (_m *TransactionsAPI) GetTx(ctx context.Context, platform string, network string, id string) ubiquity.ApiGetTxRequest
GetTx provides a mock function with given fields: ctx, platform, network, id
func (*TransactionsAPI) GetTxByHashAndIndex ¶ added in v1.1.0
func (_m *TransactionsAPI) GetTxByHashAndIndex(ctx context.Context, platform string, network string, id string, index int32) ubiquity.ApiGetTxByHashAndIndexRequest
GetTxByHashAndIndex provides a mock function with given fields: ctx, platform, network, id, index
func (*TransactionsAPI) GetTxByHashAndIndexExecute ¶ added in v1.1.0
func (_m *TransactionsAPI) GetTxByHashAndIndexExecute(r ubiquity.ApiGetTxByHashAndIndexRequest) (ubiquity.TxOutput, *http.Response, error)
GetTxByHashAndIndexExecute provides a mock function with given fields: r
func (*TransactionsAPI) GetTxConfirmations ¶
func (_m *TransactionsAPI) GetTxConfirmations(ctx context.Context, platform string, network string, id string) ubiquity.ApiGetTxConfirmationsRequest
GetTxConfirmations provides a mock function with given fields: ctx, platform, network, id
func (*TransactionsAPI) GetTxConfirmationsExecute ¶
func (_m *TransactionsAPI) GetTxConfirmationsExecute(r ubiquity.ApiGetTxConfirmationsRequest) (ubiquity.TxConfirmation, *http.Response, error)
GetTxConfirmationsExecute provides a mock function with given fields: r
func (*TransactionsAPI) GetTxExecute ¶
func (_m *TransactionsAPI) GetTxExecute(r ubiquity.ApiGetTxRequest) (ubiquity.Tx, *http.Response, error)
GetTxExecute provides a mock function with given fields: r
func (*TransactionsAPI) GetTxs ¶
func (_m *TransactionsAPI) GetTxs(ctx context.Context, platform string, network string) ubiquity.ApiGetTxsRequest
GetTxs provides a mock function with given fields: ctx, platform, network
func (*TransactionsAPI) GetTxsExecute ¶
func (_m *TransactionsAPI) GetTxsExecute(r ubiquity.ApiGetTxsRequest) (ubiquity.TxPage, *http.Response, error)
GetTxsExecute provides a mock function with given fields: r
func (*TransactionsAPI) TxSend ¶
func (_m *TransactionsAPI) TxSend(ctx context.Context, platform string, network string) ubiquity.ApiTxSendRequest
TxSend provides a mock function with given fields: ctx, platform, network
func (*TransactionsAPI) TxSendExecute ¶
func (_m *TransactionsAPI) TxSendExecute(r ubiquity.ApiTxSendRequest) (ubiquity.TxReceipt, *http.Response, error)
TxSendExecute provides a mock function with given fields: r