...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/managedblockchainquery"
Overview
Constants

Overview ▾

Package managedblockchainquery provides the client and types for making API requests to Amazon Managed Blockchain Query.

Amazon Managed Blockchain (AMB) Query provides you with convenient access to multi-blockchain network data, which makes it easier for you to extract contextual data related to blockchain activity. You can use AMB Query to read data from public blockchain networks, such as Bitcoin Mainnet and Ethereum Mainnet. You can also get information such as the current and historical balances of addresses, or you can get a list of blockchain transactions for a given time period. Additionally, you can get details of a given transaction, such as transaction events, which you can further analyze or use in business logic for your applications.

See https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04 for more information on this service.

See managedblockchainquery package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchainquery/

Using the Client

To contact Amazon Managed Blockchain Query with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Managed Blockchain Query client ManagedBlockchainQuery for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchainquery/#New

The stub package, managedblockchainqueryiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type ManagedBlockchainQuery
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ManagedBlockchainQuery
func (c *ManagedBlockchainQuery) BatchGetTokenBalance(input *BatchGetTokenBalanceInput) (*BatchGetTokenBalanceOutput, error)
func (c *ManagedBlockchainQuery) BatchGetTokenBalanceRequest(input *BatchGetTokenBalanceInput) (req *request.Request, output *BatchGetTokenBalanceOutput)
func (c *ManagedBlockchainQuery) BatchGetTokenBalanceWithContext(ctx aws.Context, input *BatchGetTokenBalanceInput, opts ...request.Option) (*BatchGetTokenBalanceOutput, error)
func (c *ManagedBlockchainQuery) GetAssetContract(input *GetAssetContractInput) (*GetAssetContractOutput, error)
func (c *ManagedBlockchainQuery) GetAssetContractRequest(input *GetAssetContractInput) (req *request.Request, output *GetAssetContractOutput)
func (c *ManagedBlockchainQuery) GetAssetContractWithContext(ctx aws.Context, input *GetAssetContractInput, opts ...request.Option) (*GetAssetContractOutput, error)
func (c *ManagedBlockchainQuery) GetTokenBalance(input *GetTokenBalanceInput) (*GetTokenBalanceOutput, error)
func (c *ManagedBlockchainQuery) GetTokenBalanceRequest(input *GetTokenBalanceInput) (req *request.Request, output *GetTokenBalanceOutput)
func (c *ManagedBlockchainQuery) GetTokenBalanceWithContext(ctx aws.Context, input *GetTokenBalanceInput, opts ...request.Option) (*GetTokenBalanceOutput, error)
func (c *ManagedBlockchainQuery) GetTransaction(input *GetTransactionInput) (*GetTransactionOutput, error)
func (c *ManagedBlockchainQuery) GetTransactionRequest(input *GetTransactionInput) (req *request.Request, output *GetTransactionOutput)
func (c *ManagedBlockchainQuery) GetTransactionWithContext(ctx aws.Context, input *GetTransactionInput, opts ...request.Option) (*GetTransactionOutput, error)
func (c *ManagedBlockchainQuery) ListAssetContracts(input *ListAssetContractsInput) (*ListAssetContractsOutput, error)
func (c *ManagedBlockchainQuery) ListAssetContractsPages(input *ListAssetContractsInput, fn func(*ListAssetContractsOutput, bool) bool) error
func (c *ManagedBlockchainQuery) ListAssetContractsPagesWithContext(ctx aws.Context, input *ListAssetContractsInput, fn func(*ListAssetContractsOutput, bool) bool, opts ...request.Option) error
func (c *ManagedBlockchainQuery) ListAssetContractsRequest(input *ListAssetContractsInput) (req *request.Request, output *ListAssetContractsOutput)
func (c *ManagedBlockchainQuery) ListAssetContractsWithContext(ctx aws.Context, input *ListAssetContractsInput, opts ...request.Option) (*ListAssetContractsOutput, error)
func (c *ManagedBlockchainQuery) ListFilteredTransactionEvents(input *ListFilteredTransactionEventsInput) (*ListFilteredTransactionEventsOutput, error)
func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsPages(input *ListFilteredTransactionEventsInput, fn func(*ListFilteredTransactionEventsOutput, bool) bool) error
func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsPagesWithContext(ctx aws.Context, input *ListFilteredTransactionEventsInput, fn func(*ListFilteredTransactionEventsOutput, bool) bool, opts ...request.Option) error
func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsRequest(input *ListFilteredTransactionEventsInput) (req *request.Request, output *ListFilteredTransactionEventsOutput)
func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsWithContext(ctx aws.Context, input *ListFilteredTransactionEventsInput, opts ...request.Option) (*ListFilteredTransactionEventsOutput, error)
func (c *ManagedBlockchainQuery) ListTokenBalances(input *ListTokenBalancesInput) (*ListTokenBalancesOutput, error)
func (c *ManagedBlockchainQuery) ListTokenBalancesPages(input *ListTokenBalancesInput, fn func(*ListTokenBalancesOutput, bool) bool) error
func (c *ManagedBlockchainQuery) ListTokenBalancesPagesWithContext(ctx aws.Context, input *ListTokenBalancesInput, fn func(*ListTokenBalancesOutput, bool) bool, opts ...request.Option) error
func (c *ManagedBlockchainQuery) ListTokenBalancesRequest(input *ListTokenBalancesInput) (req *request.Request, output *ListTokenBalancesOutput)
func (c *ManagedBlockchainQuery) ListTokenBalancesWithContext(ctx aws.Context, input *ListTokenBalancesInput, opts ...request.Option) (*ListTokenBalancesOutput, error)
func (c *ManagedBlockchainQuery) ListTransactionEvents(input *ListTransactionEventsInput) (*ListTransactionEventsOutput, error)
func (c *ManagedBlockchainQuery) ListTransactionEventsPages(input *ListTransactionEventsInput, fn func(*ListTransactionEventsOutput, bool) bool) error
func (c *ManagedBlockchainQuery) ListTransactionEventsPagesWithContext(ctx aws.Context, input *ListTransactionEventsInput, fn func(*ListTransactionEventsOutput, bool) bool, opts ...request.Option) error
func (c *ManagedBlockchainQuery) ListTransactionEventsRequest(input *ListTransactionEventsInput) (req *request.Request, output *ListTransactionEventsOutput)
func (c *ManagedBlockchainQuery) ListTransactionEventsWithContext(ctx aws.Context, input *ListTransactionEventsInput, opts ...request.Option) (*ListTransactionEventsOutput, error)
func (c *ManagedBlockchainQuery) ListTransactions(input *ListTransactionsInput) (*ListTransactionsOutput, error)
func (c *ManagedBlockchainQuery) ListTransactionsPages(input *ListTransactionsInput, fn func(*ListTransactionsOutput, bool) bool) error
func (c *ManagedBlockchainQuery) ListTransactionsPagesWithContext(ctx aws.Context, input *ListTransactionsInput, fn func(*ListTransactionsOutput, bool) bool, opts ...request.Option) error
func (c *ManagedBlockchainQuery) ListTransactionsRequest(input *ListTransactionsInput) (req *request.Request, output *ListTransactionsOutput)
func (c *ManagedBlockchainQuery) ListTransactionsWithContext(ctx aws.Context, input *ListTransactionsInput, opts ...request.Option) (*ListTransactionsOutput, error)
func ConfirmationStatus_Values() []string
func ErrorType_Values() []string
func ExecutionStatus_Values() []string
func ListFilteredTransactionEventsSortBy_Values() []string
func ListTransactionsSortBy_Values() []string
func QueryNetwork_Values() []string
func QueryTokenStandard_Values() []string
func QueryTransactionEventType_Values() []string
func ResourceType_Values() []string
func SortOrder_Values() []string
func ValidationExceptionReason_Values() []string
type AccessDeniedException
type AddressIdentifierFilter
type AssetContract
type BatchGetTokenBalanceErrorItem
type BatchGetTokenBalanceInput
type BatchGetTokenBalanceInputItem
type BatchGetTokenBalanceOutput
type BatchGetTokenBalanceOutputItem
type BlockchainInstant
type ConfirmationStatusFilter
type ContractFilter
type ContractIdentifier
type ContractMetadata
type GetAssetContractInput
type GetAssetContractOutput
type GetTokenBalanceInput
type GetTokenBalanceOutput
type GetTransactionInput
type GetTransactionOutput
type InternalServerException
type ListAssetContractsInput
type ListAssetContractsOutput
type ListFilteredTransactionEventsInput
type ListFilteredTransactionEventsOutput
type ListFilteredTransactionEventsSort
type ListTokenBalancesInput
type ListTokenBalancesOutput
type ListTransactionEventsInput
type ListTransactionEventsOutput
type ListTransactionsInput
type ListTransactionsOutput
type ListTransactionsSort
type OwnerFilter
type OwnerIdentifier
type ResourceNotFoundException
type ServiceQuotaExceededException
type ThrottlingException
type TimeFilter
type TokenBalance
type TokenFilter
type TokenIdentifier
type Transaction
type TransactionEvent
type TransactionOutputItem
type ValidationException
type ValidationExceptionField
type VoutFilter

Constants ▾

const (
    // ConfirmationStatusFinal is a ConfirmationStatus enum value
    ConfirmationStatusFinal = "FINAL"

    // ConfirmationStatusNonfinal is a ConfirmationStatus enum value
    ConfirmationStatusNonfinal = "NONFINAL"
)
const (
    // ErrorTypeValidationException is a ErrorType enum value
    ErrorTypeValidationException = "VALIDATION_EXCEPTION"

    // ErrorTypeResourceNotFoundException is a ErrorType enum value
    ErrorTypeResourceNotFoundException = "RESOURCE_NOT_FOUND_EXCEPTION"
)
const (
    // ExecutionStatusFailed is a ExecutionStatus enum value
    ExecutionStatusFailed = "FAILED"

    // ExecutionStatusSucceeded is a ExecutionStatus enum value
    ExecutionStatusSucceeded = "SUCCEEDED"
)
const (
    // QueryNetworkEthereumMainnet is a QueryNetwork enum value
    QueryNetworkEthereumMainnet = "ETHEREUM_MAINNET"

    // QueryNetworkEthereumSepoliaTestnet is a QueryNetwork enum value
    QueryNetworkEthereumSepoliaTestnet = "ETHEREUM_SEPOLIA_TESTNET"

    // QueryNetworkBitcoinMainnet is a QueryNetwork enum value
    QueryNetworkBitcoinMainnet = "BITCOIN_MAINNET"

    // QueryNetworkBitcoinTestnet is a QueryNetwork enum value
    QueryNetworkBitcoinTestnet = "BITCOIN_TESTNET"
)
const (
    // QueryTokenStandardErc20 is a QueryTokenStandard enum value
    QueryTokenStandardErc20 = "ERC20"

    // QueryTokenStandardErc721 is a QueryTokenStandard enum value
    QueryTokenStandardErc721 = "ERC721"

    // QueryTokenStandardErc1155 is a QueryTokenStandard enum value
    QueryTokenStandardErc1155 = "ERC1155"
)
const (
    // QueryTransactionEventTypeErc20Transfer is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc20Transfer = "ERC20_TRANSFER"

    // QueryTransactionEventTypeErc20Mint is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc20Mint = "ERC20_MINT"

    // QueryTransactionEventTypeErc20Burn is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc20Burn = "ERC20_BURN"

    // QueryTransactionEventTypeErc20Deposit is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc20Deposit = "ERC20_DEPOSIT"

    // QueryTransactionEventTypeErc20Withdrawal is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc20Withdrawal = "ERC20_WITHDRAWAL"

    // QueryTransactionEventTypeErc721Transfer is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc721Transfer = "ERC721_TRANSFER"

    // QueryTransactionEventTypeErc1155Transfer is a QueryTransactionEventType enum value
    QueryTransactionEventTypeErc1155Transfer = "ERC1155_TRANSFER"

    // QueryTransactionEventTypeBitcoinVin is a QueryTransactionEventType enum value
    QueryTransactionEventTypeBitcoinVin = "BITCOIN_VIN"

    // QueryTransactionEventTypeBitcoinVout is a QueryTransactionEventType enum value
    QueryTransactionEventTypeBitcoinVout = "BITCOIN_VOUT"

    // QueryTransactionEventTypeInternalEthTransfer is a QueryTransactionEventType enum value
    QueryTransactionEventTypeInternalEthTransfer = "INTERNAL_ETH_TRANSFER"

    // QueryTransactionEventTypeEthTransfer is a QueryTransactionEventType enum value
    QueryTransactionEventTypeEthTransfer = "ETH_TRANSFER"
)
const (
    // SortOrderAscending is a SortOrder enum value
    SortOrderAscending = "ASCENDING"

    // SortOrderDescending is a SortOrder enum value
    SortOrderDescending = "DESCENDING"
)
const (
    // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
    ValidationExceptionReasonUnknownOperation = "unknownOperation"

    // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
    ValidationExceptionReasonCannotParse = "cannotParse"

    // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
    ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed"

    // ValidationExceptionReasonOther is a ValidationExceptionReason enum value
    ValidationExceptionReasonOther = "other"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // The Amazon Web Services account doesn’t have access to this resource.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeInternalServerException for service response error code
    // "InternalServerException".
    //
    // The request processing has failed because of an internal error in the service.
    ErrCodeInternalServerException = "InternalServerException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The resource was not found.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeServiceQuotaExceededException for service response error code
    // "ServiceQuotaExceededException".
    //
    // The service quota has been exceeded for this resource.
    ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

    // ErrCodeThrottlingException for service response error code
    // "ThrottlingException".
    //
    // The request or operation couldn't be performed because a service is throttling
    // requests. The most common source of throttling errors is when you create
    // resources that exceed your service limit for this resource type. Request
    // a limit increase or delete unused resources, if possible.
    ErrCodeThrottlingException = "ThrottlingException"

    // ErrCodeValidationException for service response error code
    // "ValidationException".
    //
    // The resource passed is invalid.
    ErrCodeValidationException = "ValidationException"
)
const (
    ServiceName = "ManagedBlockchain Query" // Name of service.
    EndpointsID = "managedblockchain-query" // ID to lookup a service endpoint with.
    ServiceID   = "ManagedBlockchain Query" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // ListFilteredTransactionEventsSortByBlockchainInstant is a ListFilteredTransactionEventsSortBy enum value
    ListFilteredTransactionEventsSortByBlockchainInstant = "blockchainInstant"
)
const (
    // ListTransactionsSortByTransactionTimestamp is a ListTransactionsSortBy enum value
    ListTransactionsSortByTransactionTimestamp = "TRANSACTION_TIMESTAMP"
)
const (
    // ResourceTypeCollection is a ResourceType enum value
    ResourceTypeCollection = "collection"
)

func ConfirmationStatus_Values

func ConfirmationStatus_Values() []string

ConfirmationStatus_Values returns all elements of the ConfirmationStatus enum

func ErrorType_Values

func ErrorType_Values() []string

ErrorType_Values returns all elements of the ErrorType enum

func ExecutionStatus_Values

func ExecutionStatus_Values() []string

ExecutionStatus_Values returns all elements of the ExecutionStatus enum

func ListFilteredTransactionEventsSortBy_Values

func ListFilteredTransactionEventsSortBy_Values() []string

ListFilteredTransactionEventsSortBy_Values returns all elements of the ListFilteredTransactionEventsSortBy enum

func ListTransactionsSortBy_Values

func ListTransactionsSortBy_Values() []string

ListTransactionsSortBy_Values returns all elements of the ListTransactionsSortBy enum

func QueryNetwork_Values

func QueryNetwork_Values() []string

QueryNetwork_Values returns all elements of the QueryNetwork enum

func QueryTokenStandard_Values

func QueryTokenStandard_Values() []string

QueryTokenStandard_Values returns all elements of the QueryTokenStandard enum

func QueryTransactionEventType_Values

func QueryTransactionEventType_Values() []string

QueryTransactionEventType_Values returns all elements of the QueryTransactionEventType enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

type AccessDeniedException

type AccessDeniedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The container for the exception message.
    Message_ *string `locationName:"message" min:"1" type:"string"`
    // contains filtered or unexported fields
}

The Amazon Web Services account doesn’t have access to this resource.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddressIdentifierFilter

type AddressIdentifierFilter struct {

    // The container for the recipient address of the transaction.
    //
    // TransactionEventToAddress is a required field
    TransactionEventToAddress []*string `locationName:"transactionEventToAddress" min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

This is the container for the unique public address on the blockchain.

func (AddressIdentifierFilter) GoString

func (s AddressIdentifierFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddressIdentifierFilter) SetTransactionEventToAddress

func (s *AddressIdentifierFilter) SetTransactionEventToAddress(v []*string) *AddressIdentifierFilter

SetTransactionEventToAddress sets the TransactionEventToAddress field's value.

func (AddressIdentifierFilter) String

func (s AddressIdentifierFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddressIdentifierFilter) Validate

func (s *AddressIdentifierFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssetContract

type AssetContract struct {

    // The container for the contract identifier containing its blockchain network
    // and address.
    //
    // ContractIdentifier is a required field
    ContractIdentifier *ContractIdentifier `locationName:"contractIdentifier" type:"structure" required:"true"`

    // The address of the contract deployer.
    //
    // DeployerAddress is a required field
    DeployerAddress *string `locationName:"deployerAddress" type:"string" required:"true"`

    // The token standard of the contract.
    //
    // TokenStandard is a required field
    TokenStandard *string `locationName:"tokenStandard" type:"string" required:"true" enum:"QueryTokenStandard"`
    // contains filtered or unexported fields
}

This container contains information about an contract.

func (AssetContract) GoString

func (s AssetContract) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssetContract) SetContractIdentifier

func (s *AssetContract) SetContractIdentifier(v *ContractIdentifier) *AssetContract

SetContractIdentifier sets the ContractIdentifier field's value.

func (*AssetContract) SetDeployerAddress

func (s *AssetContract) SetDeployerAddress(v string) *AssetContract

SetDeployerAddress sets the DeployerAddress field's value.

func (*AssetContract) SetTokenStandard

func (s *AssetContract) SetTokenStandard(v string) *AssetContract

SetTokenStandard sets the TokenStandard field's value.

func (AssetContract) String

func (s AssetContract) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetTokenBalanceErrorItem

type BatchGetTokenBalanceErrorItem struct {

    // The container for time.
    AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure"`

    // The error code associated with the error.
    //
    // ErrorCode is a required field
    ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`

    // The message associated with the error.
    //
    // ErrorMessage is a required field
    ErrorMessage *string `locationName:"errorMessage" type:"string" required:"true"`

    // The type of error.
    //
    // ErrorType is a required field
    ErrorType *string `locationName:"errorType" type:"string" required:"true" enum:"ErrorType"`

    // The container for the owner identifier.
    OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure"`

    // The container for the identifier for the token including the unique token
    // ID and its blockchain network.
    //
    // Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155
    // token standards are supported.
    TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure"`
    // contains filtered or unexported fields
}

Error generated from a failed BatchGetTokenBalance request.

func (BatchGetTokenBalanceErrorItem) GoString

func (s BatchGetTokenBalanceErrorItem) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceErrorItem) SetAtBlockchainInstant

func (s *BatchGetTokenBalanceErrorItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceErrorItem

SetAtBlockchainInstant sets the AtBlockchainInstant field's value.

func (*BatchGetTokenBalanceErrorItem) SetErrorCode

func (s *BatchGetTokenBalanceErrorItem) SetErrorCode(v string) *BatchGetTokenBalanceErrorItem

SetErrorCode sets the ErrorCode field's value.

func (*BatchGetTokenBalanceErrorItem) SetErrorMessage

func (s *BatchGetTokenBalanceErrorItem) SetErrorMessage(v string) *BatchGetTokenBalanceErrorItem

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchGetTokenBalanceErrorItem) SetErrorType

func (s *BatchGetTokenBalanceErrorItem) SetErrorType(v string) *BatchGetTokenBalanceErrorItem

SetErrorType sets the ErrorType field's value.

func (*BatchGetTokenBalanceErrorItem) SetOwnerIdentifier

func (s *BatchGetTokenBalanceErrorItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceErrorItem

SetOwnerIdentifier sets the OwnerIdentifier field's value.

func (*BatchGetTokenBalanceErrorItem) SetTokenIdentifier

func (s *BatchGetTokenBalanceErrorItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceErrorItem

SetTokenIdentifier sets the TokenIdentifier field's value.

func (BatchGetTokenBalanceErrorItem) String

func (s BatchGetTokenBalanceErrorItem) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetTokenBalanceInput

type BatchGetTokenBalanceInput struct {

    // An array of BatchGetTokenBalanceInputItem objects whose balance is being
    // requested.
    GetTokenBalanceInputs []*BatchGetTokenBalanceInputItem `locationName:"getTokenBalanceInputs" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (BatchGetTokenBalanceInput) GoString

func (s BatchGetTokenBalanceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceInput) SetGetTokenBalanceInputs

func (s *BatchGetTokenBalanceInput) SetGetTokenBalanceInputs(v []*BatchGetTokenBalanceInputItem) *BatchGetTokenBalanceInput

SetGetTokenBalanceInputs sets the GetTokenBalanceInputs field's value.

func (BatchGetTokenBalanceInput) String

func (s BatchGetTokenBalanceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceInput) Validate

func (s *BatchGetTokenBalanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetTokenBalanceInputItem

type BatchGetTokenBalanceInputItem struct {

    // The container for time.
    AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure"`

    // The container for the owner identifier.
    //
    // OwnerIdentifier is a required field
    OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure" required:"true"`

    // The container for the identifier for the token including the unique token
    // ID and its blockchain network.
    //
    // Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155
    // token standards are supported.
    //
    // TokenIdentifier is a required field
    TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

The container for the input for getting a token balance.

func (BatchGetTokenBalanceInputItem) GoString

func (s BatchGetTokenBalanceInputItem) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceInputItem) SetAtBlockchainInstant

func (s *BatchGetTokenBalanceInputItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceInputItem

SetAtBlockchainInstant sets the AtBlockchainInstant field's value.

func (*BatchGetTokenBalanceInputItem) SetOwnerIdentifier

func (s *BatchGetTokenBalanceInputItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceInputItem

SetOwnerIdentifier sets the OwnerIdentifier field's value.

func (*BatchGetTokenBalanceInputItem) SetTokenIdentifier

func (s *BatchGetTokenBalanceInputItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceInputItem

SetTokenIdentifier sets the TokenIdentifier field's value.

func (BatchGetTokenBalanceInputItem) String

func (s BatchGetTokenBalanceInputItem) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceInputItem) Validate

func (s *BatchGetTokenBalanceInputItem) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetTokenBalanceOutput

type BatchGetTokenBalanceOutput struct {

    // An array of BatchGetTokenBalanceErrorItem objects returned from the request.
    //
    // Errors is a required field
    Errors []*BatchGetTokenBalanceErrorItem `locationName:"errors" type:"list" required:"true"`

    // An array of BatchGetTokenBalanceOutputItem objects returned by the response.
    //
    // TokenBalances is a required field
    TokenBalances []*BatchGetTokenBalanceOutputItem `locationName:"tokenBalances" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (BatchGetTokenBalanceOutput) GoString

func (s BatchGetTokenBalanceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceOutput) SetErrors

func (s *BatchGetTokenBalanceOutput) SetErrors(v []*BatchGetTokenBalanceErrorItem) *BatchGetTokenBalanceOutput

SetErrors sets the Errors field's value.

func (*BatchGetTokenBalanceOutput) SetTokenBalances

func (s *BatchGetTokenBalanceOutput) SetTokenBalances(v []*BatchGetTokenBalanceOutputItem) *BatchGetTokenBalanceOutput

SetTokenBalances sets the TokenBalances field's value.

func (BatchGetTokenBalanceOutput) String

func (s BatchGetTokenBalanceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetTokenBalanceOutputItem

type BatchGetTokenBalanceOutputItem struct {

    // The container for time.
    //
    // AtBlockchainInstant is a required field
    AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure" required:"true"`

    // The container for the token balance.
    //
    // Balance is a required field
    Balance *string `locationName:"balance" type:"string" required:"true"`

    // The container for time.
    LastUpdatedTime *BlockchainInstant `locationName:"lastUpdatedTime" type:"structure"`

    // The container for the owner identifier.
    OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure"`

    // The container for the identifier for the token including the unique token
    // ID and its blockchain network.
    //
    // Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155
    // token standards are supported.
    TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure"`
    // contains filtered or unexported fields
}

The container for the properties of a token balance output.

func (BatchGetTokenBalanceOutputItem) GoString

func (s BatchGetTokenBalanceOutputItem) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetTokenBalanceOutputItem) SetAtBlockchainInstant

func (s *BatchGetTokenBalanceOutputItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceOutputItem

SetAtBlockchainInstant sets the AtBlockchainInstant field's value.

func (*BatchGetTokenBalanceOutputItem) SetBalance

func (s *BatchGetTokenBalanceOutputItem) SetBalance(v string) *BatchGetTokenBalanceOutputItem

SetBalance sets the Balance field's value.

func (*BatchGetTokenBalanceOutputItem) SetLastUpdatedTime

func (s *BatchGetTokenBalanceOutputItem) SetLastUpdatedTime(v *BlockchainInstant) *BatchGetTokenBalanceOutputItem

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*BatchGetTokenBalanceOutputItem) SetOwnerIdentifier

func (s *BatchGetTokenBalanceOutputItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceOutputItem

SetOwnerIdentifier sets the OwnerIdentifier field's value.

func (*BatchGetTokenBalanceOutputItem) SetTokenIdentifier

func (s *BatchGetTokenBalanceOutputItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceOutputItem

SetTokenIdentifier sets the TokenIdentifier field's value.

func (BatchGetTokenBalanceOutputItem) String

func (s BatchGetTokenBalanceOutputItem) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BlockchainInstant

type BlockchainInstant struct {

    // The container of the Timestamp of the blockchain instant.
    //
    // This timestamp will only be recorded up to the second.
    Time *time.Time `locationName:"time" type:"timestamp"`
    // contains filtered or unexported fields
}

The container for time.

func (BlockchainInstant) GoString

func (s BlockchainInstant) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlockchainInstant) SetTime

func (s *BlockchainInstant) SetTime(v time.Time) *BlockchainInstant

SetTime sets the Time field's value.

func (BlockchainInstant) String

func (s BlockchainInstant) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConfirmationStatusFilter

type ConfirmationStatusFilter struct {

    // The container to determine whether to list results that have only reached
    // finality (https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality).
    // Transactions that have reached finality are always part of the response.
    //
    // Include is a required field
    Include []*string `locationName:"include" min:"1" type:"list" required:"true" enum:"ConfirmationStatus"`
    // contains filtered or unexported fields
}

The container for the ConfirmationStatusFilter that filters for the finality (https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality) of the results.

func (ConfirmationStatusFilter) GoString

func (s ConfirmationStatusFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConfirmationStatusFilter) SetInclude

func (s *ConfirmationStatusFilter) SetInclude(v []*string) *ConfirmationStatusFilter

SetInclude sets the Include field's value.

func (ConfirmationStatusFilter) String

func (s ConfirmationStatusFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConfirmationStatusFilter) Validate

func (s *ConfirmationStatusFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContractFilter

type ContractFilter struct {

    // The network address of the deployer.
    //
    // DeployerAddress is a required field
    DeployerAddress *string `locationName:"deployerAddress" type:"string" required:"true"`

    // The blockchain network of the contract.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The container for the token standard.
    //
    // TokenStandard is a required field
    TokenStandard *string `locationName:"tokenStandard" type:"string" required:"true" enum:"QueryTokenStandard"`
    // contains filtered or unexported fields
}

The contract or wallet address by which to filter the request.

func (ContractFilter) GoString

func (s ContractFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContractFilter) SetDeployerAddress

func (s *ContractFilter) SetDeployerAddress(v string) *ContractFilter

SetDeployerAddress sets the DeployerAddress field's value.

func (*ContractFilter) SetNetwork

func (s *ContractFilter) SetNetwork(v string) *ContractFilter

SetNetwork sets the Network field's value.

func (*ContractFilter) SetTokenStandard

func (s *ContractFilter) SetTokenStandard(v string) *ContractFilter

SetTokenStandard sets the TokenStandard field's value.

func (ContractFilter) String

func (s ContractFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContractFilter) Validate

func (s *ContractFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContractIdentifier

type ContractIdentifier struct {

    // Container for the blockchain address about a contract.
    //
    // ContractAddress is a required field
    ContractAddress *string `locationName:"contractAddress" type:"string" required:"true"`

    // The blockchain network of the contract.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`
    // contains filtered or unexported fields
}

Container for the blockchain address and network information about a contract.

func (ContractIdentifier) GoString

func (s ContractIdentifier) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContractIdentifier) SetContractAddress

func (s *ContractIdentifier) SetContractAddress(v string) *ContractIdentifier

SetContractAddress sets the ContractAddress field's value.

func (*ContractIdentifier) SetNetwork

func (s *ContractIdentifier) SetNetwork(v string) *ContractIdentifier

SetNetwork sets the Network field's value.

func (ContractIdentifier) String

func (s ContractIdentifier) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContractIdentifier) Validate

func (s *ContractIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContractMetadata

type ContractMetadata struct {

    // The decimals used by the token contract.
    Decimals *int64 `locationName:"decimals" type:"integer"`

    // The name of the token contract.
    Name *string `locationName:"name" type:"string"`

    // The symbol of the token contract.
    Symbol *string `locationName:"symbol" type:"string"`
    // contains filtered or unexported fields
}

The metadata of the contract.

func (ContractMetadata) GoString

func (s ContractMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContractMetadata) SetDecimals

func (s *ContractMetadata) SetDecimals(v int64) *ContractMetadata

SetDecimals sets the Decimals field's value.

func (*ContractMetadata) SetName

func (s *ContractMetadata) SetName(v string) *ContractMetadata

SetName sets the Name field's value.

func (*ContractMetadata) SetSymbol

func (s *ContractMetadata) SetSymbol(v string) *ContractMetadata

SetSymbol sets the Symbol field's value.

func (ContractMetadata) String

func (s ContractMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAssetContractInput

type GetAssetContractInput struct {

    // Contains the blockchain address and network information about the contract.
    //
    // ContractIdentifier is a required field
    ContractIdentifier *ContractIdentifier `locationName:"contractIdentifier" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetAssetContractInput) GoString

func (s GetAssetContractInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAssetContractInput) SetContractIdentifier

func (s *GetAssetContractInput) SetContractIdentifier(v *ContractIdentifier) *GetAssetContractInput

SetContractIdentifier sets the ContractIdentifier field's value.

func (GetAssetContractInput) String

func (s GetAssetContractInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAssetContractInput) Validate

func (s *GetAssetContractInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAssetContractOutput

type GetAssetContractOutput struct {

    // Contains the blockchain address and network information about the contract.
    //
    // ContractIdentifier is a required field
    ContractIdentifier *ContractIdentifier `locationName:"contractIdentifier" type:"structure" required:"true"`

    // The address of the deployer of contract.
    //
    // DeployerAddress is a required field
    DeployerAddress *string `locationName:"deployerAddress" type:"string" required:"true"`

    // The metadata of the contract.
    Metadata *ContractMetadata `locationName:"metadata" type:"structure"`

    // The token standard of the contract requested.
    //
    // TokenStandard is a required field
    TokenStandard *string `locationName:"tokenStandard" type:"string" required:"true" enum:"QueryTokenStandard"`
    // contains filtered or unexported fields
}

func (GetAssetContractOutput) GoString

func (s GetAssetContractOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAssetContractOutput) SetContractIdentifier

func (s *GetAssetContractOutput) SetContractIdentifier(v *ContractIdentifier) *GetAssetContractOutput

SetContractIdentifier sets the ContractIdentifier field's value.

func (*GetAssetContractOutput) SetDeployerAddress

func (s *GetAssetContractOutput) SetDeployerAddress(v string) *GetAssetContractOutput

SetDeployerAddress sets the DeployerAddress field's value.

func (*GetAssetContractOutput) SetMetadata

func (s *GetAssetContractOutput) SetMetadata(v *ContractMetadata) *GetAssetContractOutput

SetMetadata sets the Metadata field's value.

func (*GetAssetContractOutput) SetTokenStandard

func (s *GetAssetContractOutput) SetTokenStandard(v string) *GetAssetContractOutput

SetTokenStandard sets the TokenStandard field's value.

func (GetAssetContractOutput) String

func (s GetAssetContractOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetTokenBalanceInput

type GetTokenBalanceInput struct {

    // The time for when the TokenBalance is requested or the current time if a
    // time is not provided in the request.
    //
    // This time will only be recorded up to the second.
    AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure"`

    // The container for the identifier for the owner.
    //
    // OwnerIdentifier is a required field
    OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure" required:"true"`

    // The container for the identifier for the token, including the unique token
    // ID and its blockchain network.
    //
    // TokenIdentifier is a required field
    TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetTokenBalanceInput) GoString

func (s GetTokenBalanceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTokenBalanceInput) SetAtBlockchainInstant

func (s *GetTokenBalanceInput) SetAtBlockchainInstant(v *BlockchainInstant) *GetTokenBalanceInput

SetAtBlockchainInstant sets the AtBlockchainInstant field's value.

func (*GetTokenBalanceInput) SetOwnerIdentifier

func (s *GetTokenBalanceInput) SetOwnerIdentifier(v *OwnerIdentifier) *GetTokenBalanceInput

SetOwnerIdentifier sets the OwnerIdentifier field's value.

func (*GetTokenBalanceInput) SetTokenIdentifier

func (s *GetTokenBalanceInput) SetTokenIdentifier(v *TokenIdentifier) *GetTokenBalanceInput

SetTokenIdentifier sets the TokenIdentifier field's value.

func (GetTokenBalanceInput) String

func (s GetTokenBalanceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTokenBalanceInput) Validate

func (s *GetTokenBalanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTokenBalanceOutput

type GetTokenBalanceOutput struct {

    // The container for time.
    //
    // AtBlockchainInstant is a required field
    AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure" required:"true"`

    // The container for the token balance.
    //
    // Balance is a required field
    Balance *string `locationName:"balance" type:"string" required:"true"`

    // The container for time.
    LastUpdatedTime *BlockchainInstant `locationName:"lastUpdatedTime" type:"structure"`

    // The container for the owner identifier.
    OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure"`

    // The container for the identifier for the token including the unique token
    // ID and its blockchain network.
    //
    // Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155
    // token standards are supported.
    TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure"`
    // contains filtered or unexported fields
}

func (GetTokenBalanceOutput) GoString

func (s GetTokenBalanceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTokenBalanceOutput) SetAtBlockchainInstant

func (s *GetTokenBalanceOutput) SetAtBlockchainInstant(v *BlockchainInstant) *GetTokenBalanceOutput

SetAtBlockchainInstant sets the AtBlockchainInstant field's value.

func (*GetTokenBalanceOutput) SetBalance

func (s *GetTokenBalanceOutput) SetBalance(v string) *GetTokenBalanceOutput

SetBalance sets the Balance field's value.

func (*GetTokenBalanceOutput) SetLastUpdatedTime

func (s *GetTokenBalanceOutput) SetLastUpdatedTime(v *BlockchainInstant) *GetTokenBalanceOutput

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*GetTokenBalanceOutput) SetOwnerIdentifier

func (s *GetTokenBalanceOutput) SetOwnerIdentifier(v *OwnerIdentifier) *GetTokenBalanceOutput

SetOwnerIdentifier sets the OwnerIdentifier field's value.

func (*GetTokenBalanceOutput) SetTokenIdentifier

func (s *GetTokenBalanceOutput) SetTokenIdentifier(v *TokenIdentifier) *GetTokenBalanceOutput

SetTokenIdentifier sets the TokenIdentifier field's value.

func (GetTokenBalanceOutput) String

func (s GetTokenBalanceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetTransactionInput

type GetTransactionInput struct {

    // The blockchain network where the transaction occurred.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The hash of a transaction. It is generated when a transaction is created.
    TransactionHash *string `locationName:"transactionHash" type:"string"`

    // The identifier of a Bitcoin transaction. It is generated when a transaction
    // is created.
    //
    // transactionId is only supported on the Bitcoin networks.
    TransactionId *string `locationName:"transactionId" type:"string"`
    // contains filtered or unexported fields
}

func (GetTransactionInput) GoString

func (s GetTransactionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTransactionInput) SetNetwork

func (s *GetTransactionInput) SetNetwork(v string) *GetTransactionInput

SetNetwork sets the Network field's value.

func (*GetTransactionInput) SetTransactionHash

func (s *GetTransactionInput) SetTransactionHash(v string) *GetTransactionInput

SetTransactionHash sets the TransactionHash field's value.

func (*GetTransactionInput) SetTransactionId

func (s *GetTransactionInput) SetTransactionId(v string) *GetTransactionInput

SetTransactionId sets the TransactionId field's value.

func (GetTransactionInput) String

func (s GetTransactionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTransactionInput) Validate

func (s *GetTransactionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTransactionOutput

type GetTransactionOutput struct {

    // Contains the details of the transaction.
    //
    // Transaction is a required field
    Transaction *Transaction `locationName:"transaction" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetTransactionOutput) GoString

func (s GetTransactionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTransactionOutput) SetTransaction

func (s *GetTransactionOutput) SetTransaction(v *Transaction) *GetTransactionOutput

SetTransaction sets the Transaction field's value.

func (GetTransactionOutput) String

func (s GetTransactionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The container for the exception message.
    Message_ *string `locationName:"message" min:"1" type:"string"`

    // Specifies the retryAfterSeconds value.
    RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
    // contains filtered or unexported fields
}

The request processing has failed because of an internal error in the service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAssetContractsInput

type ListAssetContractsInput struct {

    // Contains the filter parameter for the request.
    //
    // ContractFilter is a required field
    ContractFilter *ContractFilter `locationName:"contractFilter" type:"structure" required:"true"`

    // The maximum number of contracts to list.
    //
    // Default: 100
    //
    // Even if additional results can be retrieved, the request can return less
    // results than maxResults or an empty array of results.
    //
    // To retrieve the next set of results, make another request with the returned
    // nextToken value. The value of nextToken is null when there are no more results
    // to return
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListAssetContractsInput) GoString

func (s ListAssetContractsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssetContractsInput) SetContractFilter

func (s *ListAssetContractsInput) SetContractFilter(v *ContractFilter) *ListAssetContractsInput

SetContractFilter sets the ContractFilter field's value.

func (*ListAssetContractsInput) SetMaxResults

func (s *ListAssetContractsInput) SetMaxResults(v int64) *ListAssetContractsInput

SetMaxResults sets the MaxResults field's value.

func (*ListAssetContractsInput) SetNextToken

func (s *ListAssetContractsInput) SetNextToken(v string) *ListAssetContractsInput

SetNextToken sets the NextToken field's value.

func (ListAssetContractsInput) String

func (s ListAssetContractsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssetContractsInput) Validate

func (s *ListAssetContractsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAssetContractsOutput

type ListAssetContractsOutput struct {

    // An array of contract objects that contain the properties for each contract.
    //
    // Contracts is a required field
    Contracts []*AssetContract `locationName:"contracts" type:"list" required:"true"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListAssetContractsOutput) GoString

func (s ListAssetContractsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssetContractsOutput) SetContracts

func (s *ListAssetContractsOutput) SetContracts(v []*AssetContract) *ListAssetContractsOutput

SetContracts sets the Contracts field's value.

func (*ListAssetContractsOutput) SetNextToken

func (s *ListAssetContractsOutput) SetNextToken(v string) *ListAssetContractsOutput

SetNextToken sets the NextToken field's value.

func (ListAssetContractsOutput) String

func (s ListAssetContractsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFilteredTransactionEventsInput

type ListFilteredTransactionEventsInput struct {

    // This is the unique public address on the blockchain for which the transaction
    // events are being requested.
    //
    // AddressIdentifierFilter is a required field
    AddressIdentifierFilter *AddressIdentifierFilter `locationName:"addressIdentifierFilter" type:"structure" required:"true"`

    // The container for the ConfirmationStatusFilter that filters for the finality
    // (https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality)
    // of the results.
    ConfirmationStatusFilter *ConfirmationStatusFilter `locationName:"confirmationStatusFilter" type:"structure"`

    // The maximum number of transaction events to list.
    //
    // Default: 100
    //
    // Even if additional results can be retrieved, the request can return less
    // results than maxResults or an empty array of results.
    //
    // To retrieve the next set of results, make another request with the returned
    // nextToken value. The value of nextToken is null when there are no more results
    // to return
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The blockchain network where the transaction occurred.
    //
    // Valid Values: BITCOIN_MAINNET | BITCOIN_TESTNET
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The order by which the results will be sorted.
    Sort *ListFilteredTransactionEventsSort `locationName:"sort" type:"structure"`

    // This container specifies the time frame for the transaction events returned
    // in the response.
    TimeFilter *TimeFilter `locationName:"timeFilter" type:"structure"`

    // This container specifies filtering attributes related to BITCOIN_VOUT event
    // types
    VoutFilter *VoutFilter `locationName:"voutFilter" type:"structure"`
    // contains filtered or unexported fields
}

func (ListFilteredTransactionEventsInput) GoString

func (s ListFilteredTransactionEventsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFilteredTransactionEventsInput) SetAddressIdentifierFilter

func (s *ListFilteredTransactionEventsInput) SetAddressIdentifierFilter(v *AddressIdentifierFilter) *ListFilteredTransactionEventsInput

SetAddressIdentifierFilter sets the AddressIdentifierFilter field's value.

func (*ListFilteredTransactionEventsInput) SetConfirmationStatusFilter

func (s *ListFilteredTransactionEventsInput) SetConfirmationStatusFilter(v *ConfirmationStatusFilter) *ListFilteredTransactionEventsInput

SetConfirmationStatusFilter sets the ConfirmationStatusFilter field's value.

func (*ListFilteredTransactionEventsInput) SetMaxResults

func (s *ListFilteredTransactionEventsInput) SetMaxResults(v int64) *ListFilteredTransactionEventsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFilteredTransactionEventsInput) SetNetwork

func (s *ListFilteredTransactionEventsInput) SetNetwork(v string) *ListFilteredTransactionEventsInput

SetNetwork sets the Network field's value.

func (*ListFilteredTransactionEventsInput) SetNextToken

func (s *ListFilteredTransactionEventsInput) SetNextToken(v string) *ListFilteredTransactionEventsInput

SetNextToken sets the NextToken field's value.

func (*ListFilteredTransactionEventsInput) SetSort

func (s *ListFilteredTransactionEventsInput) SetSort(v *ListFilteredTransactionEventsSort) *ListFilteredTransactionEventsInput

SetSort sets the Sort field's value.

func (*ListFilteredTransactionEventsInput) SetTimeFilter

func (s *ListFilteredTransactionEventsInput) SetTimeFilter(v *TimeFilter) *ListFilteredTransactionEventsInput

SetTimeFilter sets the TimeFilter field's value.

func (*ListFilteredTransactionEventsInput) SetVoutFilter

func (s *ListFilteredTransactionEventsInput) SetVoutFilter(v *VoutFilter) *ListFilteredTransactionEventsInput

SetVoutFilter sets the VoutFilter field's value.

func (ListFilteredTransactionEventsInput) String

func (s ListFilteredTransactionEventsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFilteredTransactionEventsInput) Validate

func (s *ListFilteredTransactionEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFilteredTransactionEventsOutput

type ListFilteredTransactionEventsOutput struct {

    // The transaction events returned by the request.
    //
    // Events is a required field
    Events []*TransactionEvent `locationName:"events" type:"list" required:"true"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFilteredTransactionEventsOutput) GoString

func (s ListFilteredTransactionEventsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFilteredTransactionEventsOutput) SetEvents

func (s *ListFilteredTransactionEventsOutput) SetEvents(v []*TransactionEvent) *ListFilteredTransactionEventsOutput

SetEvents sets the Events field's value.

func (*ListFilteredTransactionEventsOutput) SetNextToken

func (s *ListFilteredTransactionEventsOutput) SetNextToken(v string) *ListFilteredTransactionEventsOutput

SetNextToken sets the NextToken field's value.

func (ListFilteredTransactionEventsOutput) String

func (s ListFilteredTransactionEventsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFilteredTransactionEventsSort

type ListFilteredTransactionEventsSort struct {

    // Container on how the results will be sorted by?
    SortBy *string `locationName:"sortBy" type:"string" enum:"ListFilteredTransactionEventsSortBy"`

    // The container for the sort order for ListFilteredTransactionEvents. The SortOrder
    // field only accepts the values ASCENDING and DESCENDING. Not providing SortOrder
    // will default to ASCENDING.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
    // contains filtered or unexported fields
}

Lists all the transaction events for an address on the blockchain.

This operation is only supported on the Bitcoin blockchain networks.

func (ListFilteredTransactionEventsSort) GoString

func (s ListFilteredTransactionEventsSort) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFilteredTransactionEventsSort) SetSortBy

func (s *ListFilteredTransactionEventsSort) SetSortBy(v string) *ListFilteredTransactionEventsSort

SetSortBy sets the SortBy field's value.

func (*ListFilteredTransactionEventsSort) SetSortOrder

func (s *ListFilteredTransactionEventsSort) SetSortOrder(v string) *ListFilteredTransactionEventsSort

SetSortOrder sets the SortOrder field's value.

func (ListFilteredTransactionEventsSort) String

func (s ListFilteredTransactionEventsSort) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTokenBalancesInput

type ListTokenBalancesInput struct {

    // The maximum number of token balances to return.
    //
    // Default: 100
    //
    // Even if additional results can be retrieved, the request can return less
    // results than maxResults or an empty array of results.
    //
    // To retrieve the next set of results, make another request with the returned
    // nextToken value. The value of nextToken is null when there are no more results
    // to return
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The contract or wallet address on the blockchain network by which to filter
    // the request. You must specify the address property of the ownerFilter when
    // listing balances of tokens owned by the address.
    OwnerFilter *OwnerFilter `locationName:"ownerFilter" type:"structure"`

    // The contract address or a token identifier on the blockchain network by which
    // to filter the request. You must specify the contractAddress property of this
    // container when listing tokens minted by a contract.
    //
    // You must always specify the network property of this container when using
    // this operation.
    //
    // TokenFilter is a required field
    TokenFilter *TokenFilter `locationName:"tokenFilter" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (ListTokenBalancesInput) GoString

func (s ListTokenBalancesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTokenBalancesInput) SetMaxResults

func (s *ListTokenBalancesInput) SetMaxResults(v int64) *ListTokenBalancesInput

SetMaxResults sets the MaxResults field's value.

func (*ListTokenBalancesInput) SetNextToken

func (s *ListTokenBalancesInput) SetNextToken(v string) *ListTokenBalancesInput

SetNextToken sets the NextToken field's value.

func (*ListTokenBalancesInput) SetOwnerFilter

func (s *ListTokenBalancesInput) SetOwnerFilter(v *OwnerFilter) *ListTokenBalancesInput

SetOwnerFilter sets the OwnerFilter field's value.

func (*ListTokenBalancesInput) SetTokenFilter

func (s *ListTokenBalancesInput) SetTokenFilter(v *TokenFilter) *ListTokenBalancesInput

SetTokenFilter sets the TokenFilter field's value.

func (ListTokenBalancesInput) String

func (s ListTokenBalancesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTokenBalancesInput) Validate

func (s *ListTokenBalancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTokenBalancesOutput

type ListTokenBalancesOutput struct {

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`

    // An array of TokenBalance objects. Each object contains details about the
    // token balance.
    //
    // TokenBalances is a required field
    TokenBalances []*TokenBalance `locationName:"tokenBalances" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (ListTokenBalancesOutput) GoString

func (s ListTokenBalancesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTokenBalancesOutput) SetNextToken

func (s *ListTokenBalancesOutput) SetNextToken(v string) *ListTokenBalancesOutput

SetNextToken sets the NextToken field's value.

func (*ListTokenBalancesOutput) SetTokenBalances

func (s *ListTokenBalancesOutput) SetTokenBalances(v []*TokenBalance) *ListTokenBalancesOutput

SetTokenBalances sets the TokenBalances field's value.

func (ListTokenBalancesOutput) String

func (s ListTokenBalancesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTransactionEventsInput

type ListTransactionEventsInput struct {

    // The maximum number of transaction events to list.
    //
    // Default: 100
    //
    // Even if additional results can be retrieved, the request can return less
    // results than maxResults or an empty array of results.
    //
    // To retrieve the next set of results, make another request with the returned
    // nextToken value. The value of nextToken is null when there are no more results
    // to return
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The blockchain network where the transaction events occurred.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The hash of a transaction. It is generated when a transaction is created.
    TransactionHash *string `locationName:"transactionHash" type:"string"`

    // The identifier of a Bitcoin transaction. It is generated when a transaction
    // is created.
    //
    // transactionId is only supported on the Bitcoin networks.
    TransactionId *string `locationName:"transactionId" type:"string"`
    // contains filtered or unexported fields
}

func (ListTransactionEventsInput) GoString

func (s ListTransactionEventsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionEventsInput) SetMaxResults

func (s *ListTransactionEventsInput) SetMaxResults(v int64) *ListTransactionEventsInput

SetMaxResults sets the MaxResults field's value.

func (*ListTransactionEventsInput) SetNetwork

func (s *ListTransactionEventsInput) SetNetwork(v string) *ListTransactionEventsInput

SetNetwork sets the Network field's value.

func (*ListTransactionEventsInput) SetNextToken

func (s *ListTransactionEventsInput) SetNextToken(v string) *ListTransactionEventsInput

SetNextToken sets the NextToken field's value.

func (*ListTransactionEventsInput) SetTransactionHash

func (s *ListTransactionEventsInput) SetTransactionHash(v string) *ListTransactionEventsInput

SetTransactionHash sets the TransactionHash field's value.

func (*ListTransactionEventsInput) SetTransactionId

func (s *ListTransactionEventsInput) SetTransactionId(v string) *ListTransactionEventsInput

SetTransactionId sets the TransactionId field's value.

func (ListTransactionEventsInput) String

func (s ListTransactionEventsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionEventsInput) Validate

func (s *ListTransactionEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTransactionEventsOutput

type ListTransactionEventsOutput struct {

    // An array of TransactionEvent objects. Each object contains details about
    // the transaction events.
    //
    // Events is a required field
    Events []*TransactionEvent `locationName:"events" type:"list" required:"true"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListTransactionEventsOutput) GoString

func (s ListTransactionEventsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionEventsOutput) SetEvents

func (s *ListTransactionEventsOutput) SetEvents(v []*TransactionEvent) *ListTransactionEventsOutput

SetEvents sets the Events field's value.

func (*ListTransactionEventsOutput) SetNextToken

func (s *ListTransactionEventsOutput) SetNextToken(v string) *ListTransactionEventsOutput

SetNextToken sets the NextToken field's value.

func (ListTransactionEventsOutput) String

func (s ListTransactionEventsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTransactionsInput

type ListTransactionsInput struct {

    // The address (either a contract or wallet), whose transactions are being requested.
    //
    // Address is a required field
    Address *string `locationName:"address" type:"string" required:"true"`

    // This filter is used to include transactions in the response that haven't
    // reached finality (https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality).
    // Transactions that have reached finality are always part of the response.
    ConfirmationStatusFilter *ConfirmationStatusFilter `locationName:"confirmationStatusFilter" type:"structure"`

    // The container for time.
    FromBlockchainInstant *BlockchainInstant `locationName:"fromBlockchainInstant" type:"structure"`

    // The maximum number of transactions to list.
    //
    // Default: 100
    //
    // Even if additional results can be retrieved, the request can return less
    // results than maxResults or an empty array of results.
    //
    // To retrieve the next set of results, make another request with the returned
    // nextToken value. The value of nextToken is null when there are no more results
    // to return
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The blockchain network where the transactions occurred.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The order by which the results will be sorted.
    Sort *ListTransactionsSort `locationName:"sort" type:"structure"`

    // The container for time.
    ToBlockchainInstant *BlockchainInstant `locationName:"toBlockchainInstant" type:"structure"`
    // contains filtered or unexported fields
}

func (ListTransactionsInput) GoString

func (s ListTransactionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionsInput) SetAddress

func (s *ListTransactionsInput) SetAddress(v string) *ListTransactionsInput

SetAddress sets the Address field's value.

func (*ListTransactionsInput) SetConfirmationStatusFilter

func (s *ListTransactionsInput) SetConfirmationStatusFilter(v *ConfirmationStatusFilter) *ListTransactionsInput

SetConfirmationStatusFilter sets the ConfirmationStatusFilter field's value.

func (*ListTransactionsInput) SetFromBlockchainInstant

func (s *ListTransactionsInput) SetFromBlockchainInstant(v *BlockchainInstant) *ListTransactionsInput

SetFromBlockchainInstant sets the FromBlockchainInstant field's value.

func (*ListTransactionsInput) SetMaxResults

func (s *ListTransactionsInput) SetMaxResults(v int64) *ListTransactionsInput

SetMaxResults sets the MaxResults field's value.

func (*ListTransactionsInput) SetNetwork

func (s *ListTransactionsInput) SetNetwork(v string) *ListTransactionsInput

SetNetwork sets the Network field's value.

func (*ListTransactionsInput) SetNextToken

func (s *ListTransactionsInput) SetNextToken(v string) *ListTransactionsInput

SetNextToken sets the NextToken field's value.

func (*ListTransactionsInput) SetSort

func (s *ListTransactionsInput) SetSort(v *ListTransactionsSort) *ListTransactionsInput

SetSort sets the Sort field's value.

func (*ListTransactionsInput) SetToBlockchainInstant

func (s *ListTransactionsInput) SetToBlockchainInstant(v *BlockchainInstant) *ListTransactionsInput

SetToBlockchainInstant sets the ToBlockchainInstant field's value.

func (ListTransactionsInput) String

func (s ListTransactionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionsInput) Validate

func (s *ListTransactionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTransactionsOutput

type ListTransactionsOutput struct {

    // The pagination token that indicates the next set of results to retrieve.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The array of transactions returned by the request.
    //
    // Transactions is a required field
    Transactions []*TransactionOutputItem `locationName:"transactions" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (ListTransactionsOutput) GoString

func (s ListTransactionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionsOutput) SetNextToken

func (s *ListTransactionsOutput) SetNextToken(v string) *ListTransactionsOutput

SetNextToken sets the NextToken field's value.

func (*ListTransactionsOutput) SetTransactions

func (s *ListTransactionsOutput) SetTransactions(v []*TransactionOutputItem) *ListTransactionsOutput

SetTransactions sets the Transactions field's value.

func (ListTransactionsOutput) String

func (s ListTransactionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTransactionsSort

type ListTransactionsSort struct {

    // Defaults to the value TRANSACTION_TIMESTAMP.
    SortBy *string `locationName:"sortBy" type:"string" enum:"ListTransactionsSortBy"`

    // The container for the sort order for ListTransactions. The SortOrder field
    // only accepts the values ASCENDING and DESCENDING. Not providing SortOrder
    // will default to ASCENDING.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
    // contains filtered or unexported fields
}

The container for determining how the list transaction result will be sorted.

func (ListTransactionsSort) GoString

func (s ListTransactionsSort) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTransactionsSort) SetSortBy

func (s *ListTransactionsSort) SetSortBy(v string) *ListTransactionsSort

SetSortBy sets the SortBy field's value.

func (*ListTransactionsSort) SetSortOrder

func (s *ListTransactionsSort) SetSortOrder(v string) *ListTransactionsSort

SetSortOrder sets the SortOrder field's value.

func (ListTransactionsSort) String

func (s ListTransactionsSort) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ManagedBlockchainQuery

type ManagedBlockchainQuery struct {
    *client.Client
}

ManagedBlockchainQuery provides the API operation methods for making requests to Amazon Managed Blockchain Query. See this package's package overview docs for details on the service.

ManagedBlockchainQuery methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *ManagedBlockchainQuery

New creates a new instance of the ManagedBlockchainQuery client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ManagedBlockchainQuery client from just a session.
svc := managedblockchainquery.New(mySession)

// Create a ManagedBlockchainQuery client with additional configuration
svc := managedblockchainquery.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ManagedBlockchainQuery) BatchGetTokenBalance

func (c *ManagedBlockchainQuery) BatchGetTokenBalance(input *BatchGetTokenBalanceInput) (*BatchGetTokenBalanceOutput, error)

BatchGetTokenBalance API operation for Amazon Managed Blockchain Query.

Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request.

Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation BatchGetTokenBalance for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • ResourceNotFoundException The resource was not found.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/BatchGetTokenBalance

func (*ManagedBlockchainQuery) BatchGetTokenBalanceRequest

func (c *ManagedBlockchainQuery) BatchGetTokenBalanceRequest(input *BatchGetTokenBalanceInput) (req *request.Request, output *BatchGetTokenBalanceOutput)

BatchGetTokenBalanceRequest generates a "aws/request.Request" representing the client's request for the BatchGetTokenBalance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetTokenBalance for more information on using the BatchGetTokenBalance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetTokenBalanceRequest method.
req, resp := client.BatchGetTokenBalanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/BatchGetTokenBalance

func (*ManagedBlockchainQuery) BatchGetTokenBalanceWithContext

func (c *ManagedBlockchainQuery) BatchGetTokenBalanceWithContext(ctx aws.Context, input *BatchGetTokenBalanceInput, opts ...request.Option) (*BatchGetTokenBalanceOutput, error)

BatchGetTokenBalanceWithContext is the same as BatchGetTokenBalance with the addition of the ability to pass a context and additional request options.

See BatchGetTokenBalance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) GetAssetContract

func (c *ManagedBlockchainQuery) GetAssetContract(input *GetAssetContractInput) (*GetAssetContractOutput, error)

GetAssetContract API operation for Amazon Managed Blockchain Query.

Gets the information about a specific contract deployed on the blockchain.

  • The Bitcoin blockchain networks do not support this operation.

  • Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation GetAssetContract for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • ResourceNotFoundException The resource was not found.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetAssetContract

func (*ManagedBlockchainQuery) GetAssetContractRequest

func (c *ManagedBlockchainQuery) GetAssetContractRequest(input *GetAssetContractInput) (req *request.Request, output *GetAssetContractOutput)

GetAssetContractRequest generates a "aws/request.Request" representing the client's request for the GetAssetContract operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAssetContract for more information on using the GetAssetContract API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAssetContractRequest method.
req, resp := client.GetAssetContractRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetAssetContract

func (*ManagedBlockchainQuery) GetAssetContractWithContext

func (c *ManagedBlockchainQuery) GetAssetContractWithContext(ctx aws.Context, input *GetAssetContractInput, opts ...request.Option) (*GetAssetContractOutput, error)

GetAssetContractWithContext is the same as GetAssetContract with the addition of the ability to pass a context and additional request options.

See GetAssetContract for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) GetTokenBalance

func (c *ManagedBlockchainQuery) GetTokenBalance(input *GetTokenBalanceInput) (*GetTokenBalanceOutput, error)

GetTokenBalance API operation for Amazon Managed Blockchain Query.

Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.

Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation GetTokenBalance for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • ResourceNotFoundException The resource was not found.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetTokenBalance

func (*ManagedBlockchainQuery) GetTokenBalanceRequest

func (c *ManagedBlockchainQuery) GetTokenBalanceRequest(input *GetTokenBalanceInput) (req *request.Request, output *GetTokenBalanceOutput)

GetTokenBalanceRequest generates a "aws/request.Request" representing the client's request for the GetTokenBalance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTokenBalance for more information on using the GetTokenBalance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTokenBalanceRequest method.
req, resp := client.GetTokenBalanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetTokenBalance

func (*ManagedBlockchainQuery) GetTokenBalanceWithContext

func (c *ManagedBlockchainQuery) GetTokenBalanceWithContext(ctx aws.Context, input *GetTokenBalanceInput, opts ...request.Option) (*GetTokenBalanceOutput, error)

GetTokenBalanceWithContext is the same as GetTokenBalance with the addition of the ability to pass a context and additional request options.

See GetTokenBalance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) GetTransaction

func (c *ManagedBlockchainQuery) GetTransaction(input *GetTransactionInput) (*GetTransactionOutput, error)

GetTransaction API operation for Amazon Managed Blockchain Query.

Gets the details of a transaction.

This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality (https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation GetTransaction for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • ResourceNotFoundException The resource was not found.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetTransaction

func (*ManagedBlockchainQuery) GetTransactionRequest

func (c *ManagedBlockchainQuery) GetTransactionRequest(input *GetTransactionInput) (req *request.Request, output *GetTransactionOutput)

GetTransactionRequest generates a "aws/request.Request" representing the client's request for the GetTransaction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTransaction for more information on using the GetTransaction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTransactionRequest method.
req, resp := client.GetTransactionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetTransaction

func (*ManagedBlockchainQuery) GetTransactionWithContext

func (c *ManagedBlockchainQuery) GetTransactionWithContext(ctx aws.Context, input *GetTransactionInput, opts ...request.Option) (*GetTransactionOutput, error)

GetTransactionWithContext is the same as GetTransaction with the addition of the ability to pass a context and additional request options.

See GetTransaction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListAssetContracts

func (c *ManagedBlockchainQuery) ListAssetContracts(input *ListAssetContractsInput) (*ListAssetContractsOutput, error)

ListAssetContracts API operation for Amazon Managed Blockchain Query.

Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).

The Bitcoin blockchain networks do not support this operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation ListAssetContracts for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListAssetContracts

func (*ManagedBlockchainQuery) ListAssetContractsPages

func (c *ManagedBlockchainQuery) ListAssetContractsPages(input *ListAssetContractsInput, fn func(*ListAssetContractsOutput, bool) bool) error

ListAssetContractsPages iterates over the pages of a ListAssetContracts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssetContracts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssetContracts operation.
pageNum := 0
err := client.ListAssetContractsPages(params,
    func(page *managedblockchainquery.ListAssetContractsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchainQuery) ListAssetContractsPagesWithContext

func (c *ManagedBlockchainQuery) ListAssetContractsPagesWithContext(ctx aws.Context, input *ListAssetContractsInput, fn func(*ListAssetContractsOutput, bool) bool, opts ...request.Option) error

ListAssetContractsPagesWithContext same as ListAssetContractsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListAssetContractsRequest

func (c *ManagedBlockchainQuery) ListAssetContractsRequest(input *ListAssetContractsInput) (req *request.Request, output *ListAssetContractsOutput)

ListAssetContractsRequest generates a "aws/request.Request" representing the client's request for the ListAssetContracts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssetContracts for more information on using the ListAssetContracts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssetContractsRequest method.
req, resp := client.ListAssetContractsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListAssetContracts

func (*ManagedBlockchainQuery) ListAssetContractsWithContext

func (c *ManagedBlockchainQuery) ListAssetContractsWithContext(ctx aws.Context, input *ListAssetContractsInput, opts ...request.Option) (*ListAssetContractsOutput, error)

ListAssetContractsWithContext is the same as ListAssetContracts with the addition of the ability to pass a context and additional request options.

See ListAssetContracts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListFilteredTransactionEvents

func (c *ManagedBlockchainQuery) ListFilteredTransactionEvents(input *ListFilteredTransactionEventsInput) (*ListFilteredTransactionEventsOutput, error)

ListFilteredTransactionEvents API operation for Amazon Managed Blockchain Query.

Lists all the transaction events for an address on the blockchain.

This operation is only supported on the Bitcoin networks.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation ListFilteredTransactionEvents for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListFilteredTransactionEvents

func (*ManagedBlockchainQuery) ListFilteredTransactionEventsPages

func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsPages(input *ListFilteredTransactionEventsInput, fn func(*ListFilteredTransactionEventsOutput, bool) bool) error

ListFilteredTransactionEventsPages iterates over the pages of a ListFilteredTransactionEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFilteredTransactionEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFilteredTransactionEvents operation.
pageNum := 0
err := client.ListFilteredTransactionEventsPages(params,
    func(page *managedblockchainquery.ListFilteredTransactionEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchainQuery) ListFilteredTransactionEventsPagesWithContext

func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsPagesWithContext(ctx aws.Context, input *ListFilteredTransactionEventsInput, fn func(*ListFilteredTransactionEventsOutput, bool) bool, opts ...request.Option) error

ListFilteredTransactionEventsPagesWithContext same as ListFilteredTransactionEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListFilteredTransactionEventsRequest

func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsRequest(input *ListFilteredTransactionEventsInput) (req *request.Request, output *ListFilteredTransactionEventsOutput)

ListFilteredTransactionEventsRequest generates a "aws/request.Request" representing the client's request for the ListFilteredTransactionEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFilteredTransactionEvents for more information on using the ListFilteredTransactionEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFilteredTransactionEventsRequest method.
req, resp := client.ListFilteredTransactionEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListFilteredTransactionEvents

func (*ManagedBlockchainQuery) ListFilteredTransactionEventsWithContext

func (c *ManagedBlockchainQuery) ListFilteredTransactionEventsWithContext(ctx aws.Context, input *ListFilteredTransactionEventsInput, opts ...request.Option) (*ListFilteredTransactionEventsOutput, error)

ListFilteredTransactionEventsWithContext is the same as ListFilteredTransactionEvents with the addition of the ability to pass a context and additional request options.

See ListFilteredTransactionEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListTokenBalances

func (c *ManagedBlockchainQuery) ListTokenBalances(input *ListTokenBalancesInput) (*ListTokenBalancesOutput, error)

ListTokenBalances API operation for Amazon Managed Blockchain Query.

This action returns the following for a given blockchain network:

  • Lists all token balances owned by an address (either a contract address or a wallet address).

  • Lists all token balances for all tokens created by a contract.

  • Lists all token balances for a given token.

You must always specify the network property of the tokenFilter when using this operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation ListTokenBalances for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTokenBalances

func (*ManagedBlockchainQuery) ListTokenBalancesPages

func (c *ManagedBlockchainQuery) ListTokenBalancesPages(input *ListTokenBalancesInput, fn func(*ListTokenBalancesOutput, bool) bool) error

ListTokenBalancesPages iterates over the pages of a ListTokenBalances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTokenBalances method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTokenBalances operation.
pageNum := 0
err := client.ListTokenBalancesPages(params,
    func(page *managedblockchainquery.ListTokenBalancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchainQuery) ListTokenBalancesPagesWithContext

func (c *ManagedBlockchainQuery) ListTokenBalancesPagesWithContext(ctx aws.Context, input *ListTokenBalancesInput, fn func(*ListTokenBalancesOutput, bool) bool, opts ...request.Option) error

ListTokenBalancesPagesWithContext same as ListTokenBalancesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListTokenBalancesRequest

func (c *ManagedBlockchainQuery) ListTokenBalancesRequest(input *ListTokenBalancesInput) (req *request.Request, output *ListTokenBalancesOutput)

ListTokenBalancesRequest generates a "aws/request.Request" representing the client's request for the ListTokenBalances operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTokenBalances for more information on using the ListTokenBalances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTokenBalancesRequest method.
req, resp := client.ListTokenBalancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTokenBalances

func (*ManagedBlockchainQuery) ListTokenBalancesWithContext

func (c *ManagedBlockchainQuery) ListTokenBalancesWithContext(ctx aws.Context, input *ListTokenBalancesInput, opts ...request.Option) (*ListTokenBalancesOutput, error)

ListTokenBalancesWithContext is the same as ListTokenBalances with the addition of the ability to pass a context and additional request options.

See ListTokenBalances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListTransactionEvents

func (c *ManagedBlockchainQuery) ListTransactionEvents(input *ListTransactionEventsInput) (*ListTransactionEventsOutput, error)

ListTransactionEvents API operation for Amazon Managed Blockchain Query.

Lists all the transaction events for a transaction

This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality (https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation ListTransactionEvents for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactionEvents

func (*ManagedBlockchainQuery) ListTransactionEventsPages

func (c *ManagedBlockchainQuery) ListTransactionEventsPages(input *ListTransactionEventsInput, fn func(*ListTransactionEventsOutput, bool) bool) error

ListTransactionEventsPages iterates over the pages of a ListTransactionEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTransactionEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTransactionEvents operation.
pageNum := 0
err := client.ListTransactionEventsPages(params,
    func(page *managedblockchainquery.ListTransactionEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchainQuery) ListTransactionEventsPagesWithContext

func (c *ManagedBlockchainQuery) ListTransactionEventsPagesWithContext(ctx aws.Context, input *ListTransactionEventsInput, fn func(*ListTransactionEventsOutput, bool) bool, opts ...request.Option) error

ListTransactionEventsPagesWithContext same as ListTransactionEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListTransactionEventsRequest

func (c *ManagedBlockchainQuery) ListTransactionEventsRequest(input *ListTransactionEventsInput) (req *request.Request, output *ListTransactionEventsOutput)

ListTransactionEventsRequest generates a "aws/request.Request" representing the client's request for the ListTransactionEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTransactionEvents for more information on using the ListTransactionEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTransactionEventsRequest method.
req, resp := client.ListTransactionEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactionEvents

func (*ManagedBlockchainQuery) ListTransactionEventsWithContext

func (c *ManagedBlockchainQuery) ListTransactionEventsWithContext(ctx aws.Context, input *ListTransactionEventsInput, opts ...request.Option) (*ListTransactionEventsOutput, error)

ListTransactionEventsWithContext is the same as ListTransactionEvents with the addition of the ability to pass a context and additional request options.

See ListTransactionEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListTransactions

func (c *ManagedBlockchainQuery) ListTransactions(input *ListTransactionsInput) (*ListTransactionsOutput, error)

ListTransactions API operation for Amazon Managed Blockchain Query.

Lists all the transaction events for a transaction.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain Query's API operation ListTransactions for usage and error information.

Returned Error Types:

  • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

  • ValidationException The resource passed is invalid.

  • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.

  • InternalServerException The request processing has failed because of an internal error in the service.

  • ServiceQuotaExceededException The service quota has been exceeded for this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactions

func (*ManagedBlockchainQuery) ListTransactionsPages

func (c *ManagedBlockchainQuery) ListTransactionsPages(input *ListTransactionsInput, fn func(*ListTransactionsOutput, bool) bool) error

ListTransactionsPages iterates over the pages of a ListTransactions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTransactions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTransactions operation.
pageNum := 0
err := client.ListTransactionsPages(params,
    func(page *managedblockchainquery.ListTransactionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchainQuery) ListTransactionsPagesWithContext

func (c *ManagedBlockchainQuery) ListTransactionsPagesWithContext(ctx aws.Context, input *ListTransactionsInput, fn func(*ListTransactionsOutput, bool) bool, opts ...request.Option) error

ListTransactionsPagesWithContext same as ListTransactionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchainQuery) ListTransactionsRequest

func (c *ManagedBlockchainQuery) ListTransactionsRequest(input *ListTransactionsInput) (req *request.Request, output *ListTransactionsOutput)

ListTransactionsRequest generates a "aws/request.Request" representing the client's request for the ListTransactions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTransactions for more information on using the ListTransactions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTransactionsRequest method.
req, resp := client.ListTransactionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactions

func (*ManagedBlockchainQuery) ListTransactionsWithContext

func (c *ManagedBlockchainQuery) ListTransactionsWithContext(ctx aws.Context, input *ListTransactionsInput, opts ...request.Option) (*ListTransactionsOutput, error)

ListTransactionsWithContext is the same as ListTransactions with the addition of the ability to pass a context and additional request options.

See ListTransactions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type OwnerFilter

type OwnerFilter struct {

    // The contract or wallet address.
    //
    // Address is a required field
    Address *string `locationName:"address" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The container for the owner information to filter by.

func (OwnerFilter) GoString

func (s OwnerFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OwnerFilter) SetAddress

func (s *OwnerFilter) SetAddress(v string) *OwnerFilter

SetAddress sets the Address field's value.

func (OwnerFilter) String

func (s OwnerFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OwnerFilter) Validate

func (s *OwnerFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OwnerIdentifier

type OwnerIdentifier struct {

    // The contract or wallet address for the owner.
    //
    // Address is a required field
    Address *string `locationName:"address" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The container for the owner identifier.

func (OwnerIdentifier) GoString

func (s OwnerIdentifier) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OwnerIdentifier) SetAddress

func (s *OwnerIdentifier) SetAddress(v string) *OwnerIdentifier

SetAddress sets the Address field's value.

func (OwnerIdentifier) String

func (s OwnerIdentifier) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OwnerIdentifier) Validate

func (s *OwnerIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceNotFoundException

type ResourceNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The container for the exception message.
    Message_ *string `locationName:"message" min:"1" type:"string"`

    // The resourceId of the resource that caused the exception.
    //
    // ResourceId is a required field
    ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

    // The resourceType of the resource that caused the exception.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`
    // contains filtered or unexported fields
}

The resource was not found.

func (*ResourceNotFoundException) Code

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The container for the exception message.
    Message_ *string `locationName:"message" min:"1" type:"string"`

    // The container for the quotaCode.
    //
    // QuotaCode is a required field
    QuotaCode *string `locationName:"quotaCode" type:"string" required:"true"`

    // The resourceId of the resource that caused the exception.
    //
    // ResourceId is a required field
    ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

    // The resourceType of the resource that caused the exception.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

    // The container for the serviceCode.
    //
    // ServiceCode is a required field
    ServiceCode *string `locationName:"serviceCode" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The service quota has been exceeded for this resource.

func (*ServiceQuotaExceededException) Code

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString

func (s ServiceQuotaExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

func (s *ServiceQuotaExceededException) Message() string

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

func (s ServiceQuotaExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The container for the exception message.
    Message_ *string `locationName:"message" min:"1" type:"string"`

    // The container for the quotaCode.
    //
    // QuotaCode is a required field
    QuotaCode *string `locationName:"quotaCode" type:"string" required:"true"`

    // The container of the retryAfterSeconds value.
    RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`

    // The container for the serviceCode.
    //
    // ServiceCode is a required field
    ServiceCode *string `locationName:"serviceCode" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TimeFilter

type TimeFilter struct {

    // The container for time.
    From *BlockchainInstant `locationName:"from" type:"structure"`

    // The container for time.
    To *BlockchainInstant `locationName:"to" type:"structure"`
    // contains filtered or unexported fields
}

This container is used to specify a time frame.

func (TimeFilter) GoString

func (s TimeFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TimeFilter) SetFrom

func (s *TimeFilter) SetFrom(v *BlockchainInstant) *TimeFilter

SetFrom sets the From field's value.

func (*TimeFilter) SetTo

func (s *TimeFilter) SetTo(v *BlockchainInstant) *TimeFilter

SetTo sets the To field's value.

func (TimeFilter) String

func (s TimeFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TokenBalance

type TokenBalance struct {

    // The time for when the TokenBalance is requested or the current time if a
    // time is not provided in the request.
    //
    // This time will only be recorded up to the second.
    //
    // AtBlockchainInstant is a required field
    AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure" required:"true"`

    // The container of the token balance.
    //
    // Balance is a required field
    Balance *string `locationName:"balance" type:"string" required:"true"`

    // The Timestamp of the last transaction at which the balance for the token
    // in the wallet was updated.
    LastUpdatedTime *BlockchainInstant `locationName:"lastUpdatedTime" type:"structure"`

    // The container for the identifier of the owner.
    OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure"`

    // The identifier for the token, including the unique token ID and its blockchain
    // network.
    TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure"`
    // contains filtered or unexported fields
}

The balance of the token.

func (TokenBalance) GoString

func (s TokenBalance) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TokenBalance) SetAtBlockchainInstant

func (s *TokenBalance) SetAtBlockchainInstant(v *BlockchainInstant) *TokenBalance

SetAtBlockchainInstant sets the AtBlockchainInstant field's value.

func (*TokenBalance) SetBalance

func (s *TokenBalance) SetBalance(v string) *TokenBalance

SetBalance sets the Balance field's value.

func (*TokenBalance) SetLastUpdatedTime

func (s *TokenBalance) SetLastUpdatedTime(v *BlockchainInstant) *TokenBalance

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*TokenBalance) SetOwnerIdentifier

func (s *TokenBalance) SetOwnerIdentifier(v *OwnerIdentifier) *TokenBalance

SetOwnerIdentifier sets the OwnerIdentifier field's value.

func (*TokenBalance) SetTokenIdentifier

func (s *TokenBalance) SetTokenIdentifier(v *TokenIdentifier) *TokenBalance

SetTokenIdentifier sets the TokenIdentifier field's value.

func (TokenBalance) String

func (s TokenBalance) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TokenFilter

type TokenFilter struct {

    // This is the address of the contract.
    ContractAddress *string `locationName:"contractAddress" type:"string"`

    // The blockchain network of the token.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The unique identifier of the token.
    TokenId *string `locationName:"tokenId" type:"string"`
    // contains filtered or unexported fields
}

The container of the token filter like the contract address on a given blockchain network or a unique token identifier on a given blockchain network.

You must always specify the network property of this container when using this operation.

func (TokenFilter) GoString

func (s TokenFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TokenFilter) SetContractAddress

func (s *TokenFilter) SetContractAddress(v string) *TokenFilter

SetContractAddress sets the ContractAddress field's value.

func (*TokenFilter) SetNetwork

func (s *TokenFilter) SetNetwork(v string) *TokenFilter

SetNetwork sets the Network field's value.

func (*TokenFilter) SetTokenId

func (s *TokenFilter) SetTokenId(v string) *TokenFilter

SetTokenId sets the TokenId field's value.

func (TokenFilter) String

func (s TokenFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TokenFilter) Validate

func (s *TokenFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TokenIdentifier

type TokenIdentifier struct {

    // This is the token's contract address.
    ContractAddress *string `locationName:"contractAddress" type:"string"`

    // The blockchain network of the token.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The unique identifier of the token.
    //
    // For native tokens, use the 3 character abbreviation that best matches your
    // token. For example, btc for Bitcoin, eth for Ether, etc. For all other token
    // types you must specify the tokenId in the 64 character hexadecimal tokenid
    // format.
    TokenId *string `locationName:"tokenId" type:"string"`
    // contains filtered or unexported fields
}

The container for the identifier for the token including the unique token ID and its blockchain network.

Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

func (TokenIdentifier) GoString

func (s TokenIdentifier) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TokenIdentifier) SetContractAddress

func (s *TokenIdentifier) SetContractAddress(v string) *TokenIdentifier

SetContractAddress sets the ContractAddress field's value.

func (*TokenIdentifier) SetNetwork

func (s *TokenIdentifier) SetNetwork(v string) *TokenIdentifier

SetNetwork sets the Network field's value.

func (*TokenIdentifier) SetTokenId

func (s *TokenIdentifier) SetTokenId(v string) *TokenIdentifier

SetTokenId sets the TokenId field's value.

func (TokenIdentifier) String

func (s TokenIdentifier) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TokenIdentifier) Validate

func (s *TokenIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Transaction

type Transaction struct {

    // The block hash is a unique identifier for a block. It is a fixed-size string
    // that is calculated by using the information in the block. The block hash
    // is used to verify the integrity of the data in the block.
    BlockHash *string `locationName:"blockHash" type:"string"`

    // The block number in which the transaction is recorded.
    BlockNumber *string `locationName:"blockNumber" type:"string"`

    // Specifies whether the transaction has reached Finality.
    ConfirmationStatus *string `locationName:"confirmationStatus" type:"string" enum:"ConfirmationStatus"`

    // The blockchain address for the contract.
    ContractAddress *string `locationName:"contractAddress" type:"string"`

    // The amount of gas used up to the specified point in the block.
    CumulativeGasUsed *string `locationName:"cumulativeGasUsed" type:"string"`

    // The effective gas price.
    EffectiveGasPrice *string `locationName:"effectiveGasPrice" type:"string"`

    // Identifies whether the transaction has succeeded or failed.
    ExecutionStatus *string `locationName:"executionStatus" type:"string" enum:"ExecutionStatus"`

    // The initiator of the transaction. It is either in the form a public key or
    // a contract address.
    From *string `locationName:"from" type:"string"`

    // The amount of gas used for the transaction.
    GasUsed *string `locationName:"gasUsed" type:"string"`

    // The blockchain network where the transaction occurred.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The number of transactions in the block.
    //
    // NumberOfTransactions is a required field
    NumberOfTransactions *int64 `locationName:"numberOfTransactions" type:"long" required:"true"`

    // The signature of the transaction. The X coordinate of a point R.
    SignatureR *string `locationName:"signatureR" type:"string"`

    // The signature of the transaction. The Y coordinate of a point S.
    SignatureS *string `locationName:"signatureS" type:"string"`

    // The signature of the transaction. The Z coordinate of a point V.
    SignatureV *int64 `locationName:"signatureV" type:"integer"`

    // The identifier of the transaction. It is generated whenever a transaction
    // is verified and added to the blockchain.
    //
    // To is a required field
    To *string `locationName:"to" type:"string" required:"true"`

    // The transaction fee.
    TransactionFee *string `locationName:"transactionFee" type:"string"`

    // The hash of a transaction. It is generated when a transaction is created.
    //
    // TransactionHash is a required field
    TransactionHash *string `locationName:"transactionHash" type:"string" required:"true"`

    // The identifier of a Bitcoin transaction. It is generated when a transaction
    // is created.
    TransactionId *string `locationName:"transactionId" type:"string"`

    // The index of the transaction within a blockchain.
    //
    // TransactionIndex is a required field
    TransactionIndex *int64 `locationName:"transactionIndex" type:"long" required:"true"`

    // The Timestamp of the transaction.
    //
    // TransactionTimestamp is a required field
    TransactionTimestamp *time.Time `locationName:"transactionTimestamp" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

There are two possible types of transactions used for this data type:

  • A Bitcoin transaction is a movement of BTC from one address to another.

  • An Ethereum transaction refers to an action initiated by an externally owned account, which is an account managed by a human, not a contract. For example, if Bob sends Alice 1 ETH, Bob's account must be debited and Alice's must be credited. This state-changing action occurs within a transaction.

func (Transaction) GoString

func (s Transaction) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Transaction) SetBlockHash

func (s *Transaction) SetBlockHash(v string) *Transaction

SetBlockHash sets the BlockHash field's value.

func (*Transaction) SetBlockNumber

func (s *Transaction) SetBlockNumber(v string) *Transaction

SetBlockNumber sets the BlockNumber field's value.

func (*Transaction) SetConfirmationStatus

func (s *Transaction) SetConfirmationStatus(v string) *Transaction

SetConfirmationStatus sets the ConfirmationStatus field's value.

func (*Transaction) SetContractAddress

func (s *Transaction) SetContractAddress(v string) *Transaction

SetContractAddress sets the ContractAddress field's value.

func (*Transaction) SetCumulativeGasUsed

func (s *Transaction) SetCumulativeGasUsed(v string) *Transaction

SetCumulativeGasUsed sets the CumulativeGasUsed field's value.

func (*Transaction) SetEffectiveGasPrice

func (s *Transaction) SetEffectiveGasPrice(v string) *Transaction

SetEffectiveGasPrice sets the EffectiveGasPrice field's value.

func (*Transaction) SetExecutionStatus

func (s *Transaction) SetExecutionStatus(v string) *Transaction

SetExecutionStatus sets the ExecutionStatus field's value.

func (*Transaction) SetFrom

func (s *Transaction) SetFrom(v string) *Transaction

SetFrom sets the From field's value.

func (*Transaction) SetGasUsed

func (s *Transaction) SetGasUsed(v string) *Transaction

SetGasUsed sets the GasUsed field's value.

func (*Transaction) SetNetwork

func (s *Transaction) SetNetwork(v string) *Transaction

SetNetwork sets the Network field's value.

func (*Transaction) SetNumberOfTransactions

func (s *Transaction) SetNumberOfTransactions(v int64) *Transaction

SetNumberOfTransactions sets the NumberOfTransactions field's value.

func (*Transaction) SetSignatureR

func (s *Transaction) SetSignatureR(v string) *Transaction

SetSignatureR sets the SignatureR field's value.

func (*Transaction) SetSignatureS

func (s *Transaction) SetSignatureS(v string) *Transaction

SetSignatureS sets the SignatureS field's value.

func (*Transaction) SetSignatureV

func (s *Transaction) SetSignatureV(v int64) *Transaction

SetSignatureV sets the SignatureV field's value.

func (*Transaction) SetTo

func (s *Transaction) SetTo(v string) *Transaction

SetTo sets the To field's value.

func (*Transaction) SetTransactionFee

func (s *Transaction) SetTransactionFee(v string) *Transaction

SetTransactionFee sets the TransactionFee field's value.

func (*Transaction) SetTransactionHash

func (s *Transaction) SetTransactionHash(v string) *Transaction

SetTransactionHash sets the TransactionHash field's value.

func (*Transaction) SetTransactionId

func (s *Transaction) SetTransactionId(v string) *Transaction

SetTransactionId sets the TransactionId field's value.

func (*Transaction) SetTransactionIndex

func (s *Transaction) SetTransactionIndex(v int64) *Transaction

SetTransactionIndex sets the TransactionIndex field's value.

func (*Transaction) SetTransactionTimestamp

func (s *Transaction) SetTransactionTimestamp(v time.Time) *Transaction

SetTransactionTimestamp sets the TransactionTimestamp field's value.

func (Transaction) String

func (s Transaction) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TransactionEvent

type TransactionEvent struct {

    // The container for time.
    BlockchainInstant *BlockchainInstant `locationName:"blockchainInstant" type:"structure"`

    // This container specifies whether the transaction has reached Finality.
    ConfirmationStatus *string `locationName:"confirmationStatus" type:"string" enum:"ConfirmationStatus"`

    // The blockchain address for the contract
    ContractAddress *string `locationName:"contractAddress" type:"string"`

    // The type of transaction event.
    //
    // EventType is a required field
    EventType *string `locationName:"eventType" type:"string" required:"true" enum:"QueryTransactionEventType"`

    // The wallet address initiating the transaction. It can either be a public
    // key or a contract.
    From *string `locationName:"from" type:"string"`

    // The blockchain network where the transaction occurred.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The position of the spent transaction output in the output list of the creating
    // transaction.
    //
    // This is only returned for BITCOIN_VIN event types.
    SpentVoutIndex *int64 `locationName:"spentVoutIndex" type:"integer"`

    // The transactionHash that created the spent transaction output.
    //
    // This is only returned for BITCOIN_VIN event types.
    SpentVoutTransactionHash *string `locationName:"spentVoutTransactionHash" type:"string"`

    // The transactionId that created the spent transaction output.
    //
    // This is only returned for BITCOIN_VIN event types.
    SpentVoutTransactionId *string `locationName:"spentVoutTransactionId" type:"string"`

    // The wallet address receiving the transaction. It can either be a public key
    // or a contract.
    To *string `locationName:"to" type:"string"`

    // The unique identifier for the token involved in the transaction.
    TokenId *string `locationName:"tokenId" type:"string"`

    // The hash of a transaction. It is generated when a transaction is created.
    //
    // TransactionHash is a required field
    TransactionHash *string `locationName:"transactionHash" type:"string" required:"true"`

    // The identifier of a Bitcoin transaction. It is generated when a transaction
    // is created.
    TransactionId *string `locationName:"transactionId" type:"string"`

    // The value that was transacted.
    Value *string `locationName:"value" type:"string"`

    // The position of the transaction output in the transaction output list.
    VoutIndex *int64 `locationName:"voutIndex" type:"integer"`

    // Specifies if the transaction output is spent or unspent. This is only returned
    // for BITCOIN_VOUT event types.
    //
    // This is only returned for BITCOIN_VOUT event types.
    VoutSpent *bool `locationName:"voutSpent" type:"boolean"`
    // contains filtered or unexported fields
}

The container for the properties of a transaction event.

func (TransactionEvent) GoString

func (s TransactionEvent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TransactionEvent) SetBlockchainInstant

func (s *TransactionEvent) SetBlockchainInstant(v *BlockchainInstant) *TransactionEvent

SetBlockchainInstant sets the BlockchainInstant field's value.

func (*TransactionEvent) SetConfirmationStatus

func (s *TransactionEvent) SetConfirmationStatus(v string) *TransactionEvent

SetConfirmationStatus sets the ConfirmationStatus field's value.

func (*TransactionEvent) SetContractAddress

func (s *TransactionEvent) SetContractAddress(v string) *TransactionEvent

SetContractAddress sets the ContractAddress field's value.

func (*TransactionEvent) SetEventType

func (s *TransactionEvent) SetEventType(v string) *TransactionEvent

SetEventType sets the EventType field's value.

func (*TransactionEvent) SetFrom

func (s *TransactionEvent) SetFrom(v string) *TransactionEvent

SetFrom sets the From field's value.

func (*TransactionEvent) SetNetwork

func (s *TransactionEvent) SetNetwork(v string) *TransactionEvent

SetNetwork sets the Network field's value.

func (*TransactionEvent) SetSpentVoutIndex

func (s *TransactionEvent) SetSpentVoutIndex(v int64) *TransactionEvent

SetSpentVoutIndex sets the SpentVoutIndex field's value.

func (*TransactionEvent) SetSpentVoutTransactionHash

func (s *TransactionEvent) SetSpentVoutTransactionHash(v string) *TransactionEvent

SetSpentVoutTransactionHash sets the SpentVoutTransactionHash field's value.

func (*TransactionEvent) SetSpentVoutTransactionId

func (s *TransactionEvent) SetSpentVoutTransactionId(v string) *TransactionEvent

SetSpentVoutTransactionId sets the SpentVoutTransactionId field's value.

func (*TransactionEvent) SetTo

func (s *TransactionEvent) SetTo(v string) *TransactionEvent

SetTo sets the To field's value.

func (*TransactionEvent) SetTokenId

func (s *TransactionEvent) SetTokenId(v string) *TransactionEvent

SetTokenId sets the TokenId field's value.

func (*TransactionEvent) SetTransactionHash

func (s *TransactionEvent) SetTransactionHash(v string) *TransactionEvent

SetTransactionHash sets the TransactionHash field's value.

func (*TransactionEvent) SetTransactionId

func (s *TransactionEvent) SetTransactionId(v string) *TransactionEvent

SetTransactionId sets the TransactionId field's value.

func (*TransactionEvent) SetValue

func (s *TransactionEvent) SetValue(v string) *TransactionEvent

SetValue sets the Value field's value.

func (*TransactionEvent) SetVoutIndex

func (s *TransactionEvent) SetVoutIndex(v int64) *TransactionEvent

SetVoutIndex sets the VoutIndex field's value.

func (*TransactionEvent) SetVoutSpent

func (s *TransactionEvent) SetVoutSpent(v bool) *TransactionEvent

SetVoutSpent sets the VoutSpent field's value.

func (TransactionEvent) String

func (s TransactionEvent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TransactionOutputItem

type TransactionOutputItem struct {

    // Specifies whether to list transactions that have not reached Finality.
    ConfirmationStatus *string `locationName:"confirmationStatus" type:"string" enum:"ConfirmationStatus"`

    // The blockchain network where the transaction occurred.
    //
    // Network is a required field
    Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"`

    // The hash of a transaction. It is generated when a transaction is created.
    //
    // TransactionHash is a required field
    TransactionHash *string `locationName:"transactionHash" type:"string" required:"true"`

    // The identifier of a Bitcoin transaction. It is generated when a transaction
    // is created.
    TransactionId *string `locationName:"transactionId" type:"string"`

    // The time when the transaction occurred.
    //
    // TransactionTimestamp is a required field
    TransactionTimestamp *time.Time `locationName:"transactionTimestamp" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

The container of the transaction output.

func (TransactionOutputItem) GoString

func (s TransactionOutputItem) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TransactionOutputItem) SetConfirmationStatus

func (s *TransactionOutputItem) SetConfirmationStatus(v string) *TransactionOutputItem

SetConfirmationStatus sets the ConfirmationStatus field's value.

func (*TransactionOutputItem) SetNetwork

func (s *TransactionOutputItem) SetNetwork(v string) *TransactionOutputItem

SetNetwork sets the Network field's value.

func (*TransactionOutputItem) SetTransactionHash

func (s *TransactionOutputItem) SetTransactionHash(v string) *TransactionOutputItem

SetTransactionHash sets the TransactionHash field's value.

func (*TransactionOutputItem) SetTransactionId

func (s *TransactionOutputItem) SetTransactionId(v string) *TransactionOutputItem

SetTransactionId sets the TransactionId field's value.

func (*TransactionOutputItem) SetTransactionTimestamp

func (s *TransactionOutputItem) SetTransactionTimestamp(v time.Time) *TransactionOutputItem

SetTransactionTimestamp sets the TransactionTimestamp field's value.

func (TransactionOutputItem) String

func (s TransactionOutputItem) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The container for the fieldList of the exception.
    FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`

    // The container for the exception message.
    Message_ *string `locationName:"message" min:"1" type:"string"`

    // The container for the reason for the exception
    //
    // Reason is a required field
    Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
    // contains filtered or unexported fields
}

The resource passed is invalid.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

    // The ValidationException message.
    //
    // Message is a required field
    Message *string `locationName:"message" type:"string" required:"true"`

    // The name of the field that triggered the ValidationException.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The resource passed is invalid.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetMessage

func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VoutFilter

type VoutFilter struct {

    // Specifies if the transaction output is spent or unspent.
    //
    // VoutSpent is a required field
    VoutSpent *bool `locationName:"voutSpent" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

This container specifies filtering attributes related to BITCOIN_VOUT event types

func (VoutFilter) GoString

func (s VoutFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VoutFilter) SetVoutSpent

func (s *VoutFilter) SetVoutSpent(v bool) *VoutFilter

SetVoutSpent sets the VoutSpent field's value.

func (VoutFilter) String

func (s VoutFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VoutFilter) Validate

func (s *VoutFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.