21 lines
658 B
Protocol Buffer
21 lines
658 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package common.payment.v1;
|
|
|
|
option go_package = "github.com/tech/sendico/pkg/proto/common/payment/v1;paymentv1";
|
|
|
|
import "api/proto/gateway/chain/v1/chain.proto";
|
|
|
|
// ExternalChainDetails describes an external blockchain address as a
|
|
// payment endpoint.
|
|
message ExternalChainDetails {
|
|
// id is the unique identifier for this endpoint instance.
|
|
string id = 1;
|
|
// asset identifies the on-chain token (network + symbol + contract).
|
|
chain.gateway.v1.Asset asset = 2;
|
|
// address is the destination blockchain address.
|
|
string address = 3;
|
|
// memo is an optional transfer memo or tag required by some chains.
|
|
string memo = 4;
|
|
}
|