trTransferAssetttaHttp, Websocket, command lineposturl address: /api/transaction/trTransferAssetinterface TrTransferAsset extends TransactionCommonParams{
/**The chain name of the transferred equity, composed of lowercase letters, 3-8 digits */
sourceChainName: string;
/**The network identifier of the chain to which the transferred equity belongs, composed of uppercase letters or numbers, 5 characters, and the last digit is the check digit */
sourceChainMagic: string;
/**Name of the transferred equity, composed of uppercase letters, 3-5 characters */
assetType: string;
/**The amount of transferred equity, composed of 0-9 and excluding the decimal point, must be greater than 0 */
amount: string;
/**The receiving account address of the event, base58-encoded hexadecimal string */
recipientId: string;
}type TrTransferAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete transfer event */
result: BFMetaCore.TransactionJSON<BFMetaCore.TransferAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trTransferAssetWithSignHttp, Websocketposturl address: /api/transaction/trTransferAssetWithSigninterface PackageTrTransferAssetParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}interface PackageTrTransferAssetRespParam = {
/**Success */
success: true;
result: {
/** The buffer generated by the event body, base64 string */
buffer: string
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
transferAssetHttp, Websocketposturl address: /api/transaction/send/transferAssetinterface SendTrTransferAssetParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature?: string;
}type SendTrTransferAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete transfer event */
result: BFMetaCore.TransactionJSON<BFMetaCore.TransferAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSignaturetsiHttp, Websocket, command lineposturl address: /api/transaction/trSignatureinterface TrSignature extends TransactionCommonParams{
newSecondSecret: string;
}type TrSignatureRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Setup Security Password Events */
result: BFMetaCore.TransactionJSON<BFMetaCore.SignatureAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSignatureWithSignHttp, Websocketposturl address: /api/transaction/trSignatureWithSigninterface PackageTrSignatureParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}interface PackageTrSignatureRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
signatureHttp, Websocketposturl address: /api/transaction/send/trSignatureinterface SendTrSignatureParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature: string;
}type SendTrSignatureRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Setup Security Password Events */
result: BFMetaCore.TransactionJSON<BFMetaCore.SignatureAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trUsernametusrHttp, Websocket, command lineposturl address: /api/transaction/trUsernameinterface TrUsernam extends TransactionCommonParams{
/**User name string, composed of uppercase and lowercase letters, numbers, and underscores, 1-20 characters, cannot contain this chain name */
alias: string;
}type TrUsernameRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete set username event */
result: BFMetaCore.TransactionJSON<BFMetaCore.UsernameAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trUsernameWithSignHttp, Websocketposturl address: /api/transaction/trUsernameWithSigninterface PackageTrUsernameParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}type PackageTrUsernameRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
usernameHttp, Websocketposturl address: /api/transaction/send/usernameinterface SendTrUsernameParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature: string;
}type SendTrUsernameRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete set username event */
result: BFMetaCore.TransactionJSON<BFMetaCore.UsernameAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trDelegatetdegHttp, Websocket, command lineposturl address: /api/transaction/trDelegateinterface TrDelegate extends TransactionCommonParams {
}type TrDelegateRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Registration for Trustee Events */
result: BFMetaCore.TransactionJSON<BFMetaCore.DelegateAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trDelegateWithSignHttp, Websocketposturl address: /api/transaction/trDelegateWithSigninterface PackageTrDelegateParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}type PackageTrDelegateRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
delegateHttp, Websocketposturl address: /api/transaction/send/delegateinterface SendTrDelegateParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature: string;
}type SendTrDelegateRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Registration for Trustee Events */
result: BFMetaCore.TransactionJSON<BFMetaCore.DelegateAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trAcceptVotetavHttp, Websocket, command lineposturl address: /api/transaction/trAcceptVoteinterface TrAcceptVote extends TransactionCommonParams {
}type TrAcceptVoteRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Receive voting Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.AcceptVoteAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trAcceptVoteWithSignHttp, Websocketposturl address: /api/transaction/trAcceptVoteWithSigninterface PackageTrAcceptVoteParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}type PackageTrAcceptVoteRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
acceptVoteHttp, Websocketposturl address: /api/transaction/send/acceptVoteinterface SendTrAcceptVoteParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature: string;
}type SendTrAcceptVoteRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Receive Poll Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.AcceptVoteAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trRejectVotetrvHttp, Websocket, command lineposturl address: /api/transaction/trRejectVoteinterface TrRejectVote extends TransactionCommonParams {
}type TrRejectVoteRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete downvote event */
result: BFMetaCore.TransactionJSON<BFMetaCore.RejectVoteAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trRejectVoteWithSignHttp, Websocketposturl address: /api/transaction/trRejectVoteWithSigninterface PackageTrRejectVoteParam {
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}type PackageTrRejectVoteRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
rejectVoteHttp, Websocketposturl address: /api/transaction/send/rejectVoteinterface SendTrRejectVoteParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature: string;
}type SendTrRejectVoteRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete downvote event */
result: BFMetaCore.TransactionJSON<BFMetaCore.RejectVoteAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trVotetvHttp, Websocket, command lineposturl address: /api/transaction/trVoteinterface TrVote extends TransactionCommonParams {
/**The number of equity voted, composed of 0-9 and excluding the decimal point, allowed to be 0 */
equity: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrVoteRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**complete voting event */
result: BFMetaCore.TransactionJSON<BFMetaCore.VoteAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trVoteWithSignHttp, Websocketposturl address: /api/transaction/trVoteWithSigninterface PackageTrVoteParam {
/**The buffer generated by the event body without signature is generated by trVote */
buffer: string;
/**Event signature */
signature: string;
}type PackageTrVoteRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
voteHttp, Websocketposturl address: /api/transaction/send/voteinterface SendTrCommonParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the transaction */
signature: string;
/**Security signature of the transaction */
signSignature: string;
}type SendTrVoteRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete voting event */
result: BFMetaCore.TransactionJSON<BFMetaCore.VoteAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
Introduction
The full name of the interface: trDapp
Interface abbreviation:tda
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trDapp
Request parameters:
interface TrDapp extends TransactionCommonParams {
/**dappid, composed of uppercase letters or numbers, 8 characters, the last digit is the check digit */
newDappid: string;
/**The type of dappid can only be 0 or 1; 0 means this dappid is paid for use, 1 means this dappid is free to use */
type: BFChainCore.DAPP_TYPE;
/**The number of rights and interests required to purchase the right to use dappid (if dappid is a paid application, it must be carried, if it is a free application, it does not need to be carried), composed of 0-9 and excluding decimal points, must be greater than 0 */
amount?: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}
type TrDappRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete release dapp event */
result: BFMetaCore.TransactionJSON<BFMetaCore.DAppAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trDappWithSignHttp, Websocketposturl address: /api/transaction/trDappWithSigninterface PackageTrDappParam {
/**The buffer generated by the event body without signature, generated by trDapp */
buffer: string;
/**Event signature */
signature: string;
}
type PackageTrDappRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
dappHttp, Websocketposturl address: /api/transaction/send/dappinterface SendTrDappParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
type SendTrDappRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete and complete release dapp event */
result: BFMetaCore.TransactionJSON<BFMetaCore.DAppAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
Introduction
The full name of the interface: trDappPurchasing
Interface abbreviation:tdap
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trDappPurchasing
Request parameters:
interface TrDappPurchasing extends TransactionCommonParams{
/**The release event signature of the purchased dappid, a 128-byte hexadecimal string */
transactionSignature: string;
}
type TrDappPurchasingRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete dapp purchase event */
result: BFMetaCore.TransactionJSON<BFMetaCore.DAppPurchasingAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trDappPurchasingWithSignHttp, Websocketposturl address: /api/transaction/trDappPurchasingWithSigninterface PackageTrDappPurchasingParam {
/**The buffer generated by the event body without signature is generated by trDappPurchasing */
buffer: string;
/**Event signature */
signature: string;
}
type PackageTrDappPurchasingRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
dappPurchasingHttp, Websocketposturl address: /api/transaction/send/dappPurchasinginterface SendTrDappPurchasingParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
type SendTrDappPurchasingRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete dapp purchase event */
result: BFMetaCore.TransactionJSON<BFMetaCore.DAppPurchasingAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
Introduction
The full name of the interface: trMark
Interface abbreviation:tmr
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trMark
Request parameters:
interface TrMark extends TransactionCommonParams{
/**The release event signature of the purchased dappid, a 128-byte hexadecimal string */
transactionSignature: string;
/**The content of the certificate is any string */
content: string;
/**Deposit type, any string, used to distinguish deposit certificates */
action: string;
}
type TrMarkRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**complete proof of events */
result: BFMetaCore.TransactionJSON<BFMetaCore.MarkAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trMarkWithSignHttp, Websocketposturl address: /api/transaction/trMarkWithSigninterface PackageTrMarkParam {
/** Buffer generated by event body without signature, generated by trMark */
buffer: string;
/**Event signature */
signature: string;
}
type PackageTrMarkRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
markHttp, Websocketposturl address: /api/transaction/send/markinterface SendTrMarkParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
type SendTrMarkRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**The complete attestation event */
result: BFMetaCore.TransactionJSON<BFMetaCore.MarkAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
Introduction
The full name of the interface: trIssueAsset
Interface abbreviation:tia
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trIssueAsset
Request parameters:
interface TrIssueAsset extends TransactionCommonParams{
/**Name of equity, composed of uppercase letters, 3-5 characters */
assetType: string;
/**Total number of new equity issued. The number of equity consists of ten numbers from 0-9. The number of equity does not include a decimal point and must be greater than 0 */
expectedIssuedAssets: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}
type TrIssueAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete token Release Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueAssetWithSignHttp, Websocketposturl address: /api/transaction/trIssueAssetWithSigninterface PackageTrIssueAssetParam {
/** Buffer generated by event body without signature, generated by trMark */
buffer: string;
/**Event signature */
signature: string;
}
type PackageTrIssueAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
issueAssetHttp, Websocketposturl address: /api/transaction/send/issueAssetinterface SendTrIssueAssetParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
type SendTrIssueAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete token Release Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
Introduction
The full name of the interface: trDestroyAsset
Interface abbreviation:tdya
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trDestroyAsset
Request parameters:
interface TrDestoryAsset extends TransactionCommonParams{
/**Destroyed equity name, composed of uppercase letters, 3-5 characters */
assetType: string;
/**The amount of equity to be destroyed, composed of 0-9 and excluding the decimal point, must be greater than 0 */
amount: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}
trDestroyAssetWithSignHttp, Websocket, command lineposturl address: /api/transaction/trDestroyAssetWithSigninterface PackageTrDestoryAssetParam {
/** Buffer generated by event body without signature, generated by trMark */
buffer: string;
/**Event signature */
signature: string;
}
destroyAssetHttp, Websocketposturl address: /api/transaction/send/destroyAssetinterface SendTrDestoryAssetParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
-Return parameters:none
Introduction
The full name of the interface: trToExchangeAsset
Interface abbreviation:ttea
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trToExchangeAsset
Request parameters:
interface TrToExchangeAsset extends TransactionCommonParams{
/**Encryption key group, if the key is filled in, the event that accepts the exchange of rights and interests must carry a signature pair generated by a certain key */
ciphertexts?: string[];
interface TrToExchangeAsset extends TransactionCommonParams{
/**The public key array generated by the encryption key */
cipherPublicKeys: string[];
/**The source chain network identifier of the equity used for exchange, consisting of uppercase letters or digits, 5 characters, the last digit is the check digit */
toExchangeSource: string;
/**The source chain network identifier of the equity being exchanged, consisting of uppercase letter or number, 5 characters, the last digit is check the digit */
beExchangeSource: string;
/**The source name of the equity used for exchange, consisting of lowercase letters, 3-8 digits */
toExchangeChainName: string;
/**The source chain name of the equity being exchanged, consisting of lowercase letters, 3-8 digits */
beExchangeChainName: string;
/**The name of the equity used for exchange, consisting of uppercase letter, 3-5 digits */
toExchangeAsset: string;
/**The name of the equity being exchanged,consisting of uppercase letter, 3-5 digits */
beExchangeAsset: string;
/**The number of equity used for exchange, consisting of 0-9 and excluding the decimal point, must be greater than 0 */
toExchangeNumber: string;
/**The exchange ratio of equity */
exchangeRate: BFMeta.RateJSON<string>;
}
type TrToExchangeAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete token Exchange Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ToExchangeAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trToExchangeAssetWithSignHttp, Websocket, command lineposturl address: /api/transaction/trToExchangeAssetWithSigninterface PackageTrToExchangeAssetParam {
/** Buffer generated by event body without signature, generated by trMark */
buffer: string;
/**Event signature */
signature: string;
}
type PackageTrToExchangeAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
toExchangeAssetHttp, Websocketposturl address: /api/transaction/send/toExchangeAssetinterface SendTrToExchangeAssetParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
type SendTrToExchangeAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete equity exchange event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ToExchangeAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
Introduction
The full name of the interface: trBeExchangeAsset
Interface abbreviation:tbea
Callable methods: Http, Websocket, command line
Calling method: post
Interface url address: /api/transaction/trBeExchangeAsset
Request parameters:
interface TrBeExchangeAsset extends TransactionCommonParams{
/**to event signature, a 128-byte hexadecimal string */
transactionSignature: string;
/**The amount of token used for exchange. The amount of token consists of ten numbers from 0-9. The amount of token does not include a decimal point and must be greater than 0 */
beExchangeNumber: string;
/**The amount of token obtained by the exchange, the amount of token is composed of a total of ten numbers from 0-9, the amount of token does not include the decimal point and must be greater than 0 */
toExchangeNumber: string;
/**Encryption key, if the encryption key is filled in the token exchange event, you must carry the specified key of a token exchange event to generate a key signature pair */
ciphertext?: string;
/**to event originating account address, base58-encoded hexadecimal string */
recipientId: string;
}
type TrBeExchangeAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Accept Stake Exchange Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.BeExchangeAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trBeExchangeAssetWithSignHttp, Websocket, command lineposturl address: /api/transaction/trBeExchangeAssetWithSigninterface PackageTrBeExchangeAssetParam {
/** The buffer generated by the event body, base64 string */
buffer: string;
/**Event signature */
signature: string;
}
type PackageTrBeExchangeAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
beExchangeAssetHttp, Websocketposturl address: /api/transaction/send/destroyAssetinterface SendTrBeExchangeAssetParam {
/**The buffer that needs to be signed is converted to a base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}
type SendTrBeExchangeAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Accept Stake Exchange Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.BeExchangeAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trToExchangeSpecAssetttesaHttp,Websocket,command lineposturl address:/api/transaction/trToExchangeSpecAssetinterface TrToExchangeSpecAsset extends TransactionCommonParams{
/**Encryption key group, if the key is filled in, the event of accepting asset exchange must carry a signature pair generated by a certain key */
ciphertexts?: string[];
}type TrToExchangeSpecAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete asset exchange event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ToExchangeSpecialAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trToExchangeSpecAssetWithSignHttp,Websocketposturl address:/api/transaction/trToExchangeSpecAssetWithSigninterface PackageTrToExchangeSpecAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrToExchangeSpecAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
toExchangeSpecAssetHttp,Websocketposturl address:/api/transaction/send/toExchangeSpecAssetinterface SendTrToExchangeSpecAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrToExchangeSpecAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete asset exchange event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ToExchangeSpecialAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trBeExchangeSpecAssettbesaHttp,Websocket,command lineposturl address:/api/transaction/trBeExchangeSpecAssetinterface TrBeExchangeSpecAsset extends TransactionCommonParams{
/**The signature of the to event, a 128-byte hexadecimal string */
transactionSignature: string;
/**Encryption key, if the asset exchange event fills in the encryption key, it must carry the specified key of an asset exchange event to generate a key signature pair */
ciphertext?: string;
}type TrBeExchangeSpecAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete accept asset exchange event */
result: BFMetaCore.TransactionJSON<BFMetaCore.BeExchangeSpecialAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trBeExchangeSpecAssetWithSignHttp,Websocketposturl address:/api/transaction/trBeExchangeSpecAssetWithSigninterface PackageTrBeExchangeSpecAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrBeExchangeSpecAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
beExchangeSpecAssetHttp,Websocketposturl address:/api/transaction/send/beExchangeSpecAssetinterface SendTrBeExchangeSpecAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrBeExchangeSpecAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete accept asset exchange event */
result: BFMetaCore.TransactionJSON<BFMetaCore.BeExchangeSpecialAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trGiftAssettgaHttp,Websocket,command lineposturl address:/api/transaction/trGiftAssetinterface TrGiftAsset extends TransactionCommonParams{
/**Encryption key group, if the key is filled in, the event of receiving token exchange must carry a signature pair generated by a certain key */
ciphertexts?: string[];
}type TrGiftAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete token gift event (red envelope event) */
result: BFMetaCore.TransactionJSON<BFMetaCore.GiftAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trGiftAssetWithSignHttp,Websocketposturl address:/api/transaction/trGiftAssetWithSigninterface PackageTrGiftAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrGiftAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
giftAssetHttp,Websocketposturl address:/api/transaction/send/giftAssetinterface SendTrGiftAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrGiftAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete rights and interests gift event (red envelope event) */
result: BFMetaCore.TransactionJSON<BFMetaCore.GiftAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trGrabAssettgraHttp,Websocket,command lineposturl address:/api/transaction/trGrabAssetinterface TrGrabAsset extends TransactionCommonParams{
/**The number of gift benefits received, consisting of 0-9 and excluding decimal points */
amount?: string;
/**The signature of the block where the gift event is located, a 128-byte hexadecimal string */
blockSignature: string;
/**The signature of the gift event, a 128-byte hexadecimal string */
transactionSignature: string;
/**Encryption key, if the encryption key is filled in the token donation event, it must carry a specified key of an token exchange event to generate a key signature pair */
ciphertext?: string;
}type TrGrabAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**A complete event of receiving rights and interests (the event of grabbing red envelopes) */
result: BFMetaCore.TransactionJSON<BFMetaCore.GrabAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trGrabAssetWithSignHttp,Websocketposturl address:/api/transaction/trGrabAssetWithSigninterface PackageTrGrabAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrGrabAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
grabAssetHttp,Websocketposturl address:/api/transaction/send/grabAssetinterface SendTrGrabAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrGrabAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete event of receiving token (grabbing red envelope event) */
result: BFMetaCore.TransactionJSON<BFMetaCore.GrabAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trTrustAssetttraHttp,Websocket,command lineposturl address:/api/transaction/trTrustAssetinterface TrTrustAsset extends TransactionCommonParams {
/** Witness account address array, base58-encoded hexadecimal string array */
trustees: string[];
/**The number of witness signatures required when signing for receipt, consisting of 0-9, must be greater than 0, and the maximum value is the number of designated trustees + 2 */
numberOfSignFor: number;
/**The chain name of the witnessed equity, composed of lowercase letters, 3-8 digits */
sourceChainName: string;
/**The network identifier of the chain to which the witnessed equity belongs, composed of uppercase letters or numbers, 5 characters, and the last digit is the check digit */
sourceChainMagic: string;
/**The witness's equity name, composed of uppercase letters, 3-5 characters */
assetType: string;
/**The number of witnessed equity, composed of 0-9 and excluding the decimal point, must be greater than 0 */
amount: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrTrustAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete token delegation event */
result: BFMetaCore.TransactionJSON<BFMetaCore.TrustAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trTrustAssetWithSignHttp,Websocketposturl address:/api/transaction/trTrustAssetWithSigninterface PackageTrGrabAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrGrabAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
trustAssetHttp,Websocketposturl address:/api/transaction/send/trustAssetinterface SendTrTrustAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrTrustAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete token delegation event */
result: BFMetaCore.TransactionJSON<BFMetaCore.TrustAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSignForAssettsfaHttp,Websocket,command lineposturl address:/api/transaction/trSignForAssetinterface TrSignForAsset extends TransactionCommonParams{
/**The signature of the delegated event, a 128-byte hexadecimal string */
transactionSignature: string;
}type TrSignForAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete sign-in token entrustment event */
result: BFMetaCore.TransactionJSON<BFMetaCore.SignForAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSignForAssetWithSignHttp,Websocketposturl address:/api/transaction/trSignForAssetWithSigninterface PackageTrSignForAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrSignForAssetRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
signForAssetHttp,Websocketposturl address:/api/transaction/send/signForAssetinterface SendTrSignForAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrSignForAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete sign-in token entrustment event */
result: BFMetaCore.TransactionJSON<BFMetaCore.SignForAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trEmigrateAssettemaHttp,Websocket,command lineposturl address:/api/transaction/trEmigrateAssetinterface TrEmigrateAsset extends TransactionCommonParams{
/**Credential version */
version: string;
/**Creation time of moving out certificate Date.now().getTimes() */
timestamp: number;
/**The unique identifier version+custom format of the migration chain, currently it is version/magic/chainName/genesisBlockSignature */
fromChainId: string;
/**The unique identifier version+custom format of the imported chain, currently it is version/magic/chainName/genesisBlockSignature */
toChainId: string;
/**Unique ID of the originating account,version/address */
fromId: string;
/**Unique ID of the receiving account, version/address */
toId: string;
/**Tokens to move out:version/assetType */
assetId: string;
/**Number of tokens transferred out,0-9 Consists of and does not contain a decimal point, which must be greater than 0 */
assetPrealnum: string;
/**Signature of Originating account ,version/publicKey-signature/secondPublicKey-signSignature */
signature: string;
/**Signature of the outbound chain, version/publicKey-signature/secondPublicKey-signSignature */
fromAuthSignature: string;
}type TrEmigrateAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Entire token relocation event */
result: BFMetaCore.TransactionJSON<BFMetaCore.EmigrateAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trImmigrateAssettimaHttp,Websocket,command lineposturl address:/api/transaction/trImmigrateAssetinterface TrImmigrateAsset extends TransactionCommonParams{
/**Credential version */
version: string;
/**Creation time of moving out certificate Date.now().getTimes() */
timestamp: number;
/**The unique identifier version+custom format of the migration chain, currently it is version/magic/chainName/genesisBlockSignature */
fromChainId: string;
/**The unique identifier version+custom format of the imported chain, currently it is version/magic/chainName/genesisBlockSignature */
toChainId: string;
/**Unique ID of the originating account,version/address */
fromId: string;
/**Unique ID of the receiving account, version/address */
toId: string;
/**Tokens to move out:version/assetType */
assetId: string;
/**Number of tokens transferred out,0-9 Consists of and does not contain a decimal point, which must be greater than 0 */
assetPrealnum: string;
/**Signature of Originating account , version/publicKey-signature/secondPublicKey-signSignature */
signature: string;
/**Signature of the outbound chain, version/publicKey-signature/secondPublicKey-signSignature */
fromAuthSignature: string;
/**Authorized signature header of the migration chain version */
toAuthSignature: string;
}type TrImmigrateAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete tokens migration event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ImmigrateAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trLocationNametlnHttp,Websocket,command lineposturl address:/api/transaction/trLocationNameinterface TrLocationName extends TransactionCommonParams {
/**The name of the registration/deregistration, 2-1024 characters, the maximum length of each level domain name is 128 characters, the first level domain name can only be composed of lowercase letters, and the beginning and end of the second level and above can only be lowercase letters or numbers It can contain an underscore in the middle, and the root domain name must be the chain name of this chain*/
name: string;
/**Operation type, it can only be 0 or 1, 0 means registration position name, 1 means deregistration position name */
operationType: BFMeta.LOCATION_NAME_OPERATION_TYPE;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrLocationNameRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete registration and cancellation of LNS events */
result: BFMetaCore.TransactionJSON<BFMetaCore.LocationNameAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trLocationNameWithSignHttp,Websocketposturl address:/api/transaction/trLocationNameWithSigninterface PackageTrLocationNameParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrLocationNameRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
locationNameHttp,Websocketposturl address:/api/transaction/send/locationNameinterface SendTrImmigrateAssetParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrImmigrateAssetRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete tokens migration event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ImmigrateAssetAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSetLnsManagertslmHttp,Websocket,command lineposturl address:/api/transaction/trSetLnsManagerinterface TrSetLnsManager extends TransactionCommonParams {
/**Bit name, 2-1024 characters, the maximum length of each level domain name is 128 characters, the first level domain name can only be composed of lowercase letters, the beginning and end of the second level and above can only be composed of lowercase letters or numbers, and the middle can be Contains an underscore, the root domain name must be the chain name of this chain*/
name: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrSetLnsManagerRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**complete set LNS administrator event */
result: BFMetaCore.TransactionJSON<BFMetaCore.SetLnsManagerAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSetLnsManagerWithSignHttp,Websocketposturl address:/api/transaction/trSetLnsManagerWithSigninterface PackageTrSetLnsManagerParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrSetLnsManagerRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
setLnsManagerHttp,Websocketposturl address:/api/transaction/send/setLnsManagerinterface SendTrSetLnsManagerParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrSetLnsManagerRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete set LNS administrator event */
result: BFMetaCore.TransactionJSON<BFMetaCore.SetLnsManagerAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSetLnsRecordValuetslnsHttp,Websocket,command lineposturl address:/api/transaction/trSetLnsRecordValueinterface TrSetLnsRecordValue extends TransactionCommonParams {
/**Bit name, 2-1024 characters, the maximum length of each level domain name is 128 characters, the first level domain name can only be composed of lowercase letters, the beginning and end of the second level and above can only be composed of lowercase letters or numbers, and the middle can be Contains an underscore, the root domain name must be the chain name of this chain*/
name: string;
/**Operation type, can only be 0 or 1 or 2, 0 means add, 1 means delete, 2 means update */
operationType: BFMeta.RECORD_OPERATION_TYPE;
/**Added analytical value, the analytical value type can only be A or AAAA or LNG_LAT or BLOCK_CHAIN_ACCOUNT_ADDRESS, A means ipV4, AAAA means ipV6, LNG_LAT means latitude and longitude, BLOCK_CHAIN_ACCOUNT_ADDRESS means the address of the chain account, the underscore is the analytic value type, underscore The following is the analytical value, optional, required when the operation type is 0 or 2*/
addRecord?: LocationNameRecordJSON;
/**Deleted analytical value, the analytical value type can only be A or AAAA or LNG_LAT or BLOCK_CHAIN_ACCOUNT_ADDRESS, A means ipV4, AAAA means ipV6, LNG_LAT means latitude and longitude, BLOCK_CHAIN_ACCOUNT_ADDRESS means the address of the chain account, the underscore is the analytic value type, underscore The following is the analytical value, optional, required when the operation type is 1 or 2*/
deleteRecord?: LocationNameRecordJSON;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrSetLnsRecordValueRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Completely set LNS parsing value event */
result: BFMetaCore.TransactionJSON<BFMetaCore.SetLnsRecordValueAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trSetLnsRecordValueWithSignHttp,Websocketposturl address:/api/transaction/trSetLnsRecordValueWithSigninterface PackageTrSetLnsRecordValueParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrSetLnsRecordValueRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
setLnsRecordValueHttp,Websocketposturl address:/api/transaction/send/setLnsRecordValueinterface SendTrSetLnsRecordValueParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrSetLnsRecordValueRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Completely set bit name parsing value event */
result: BFMetaCore.TransactionJSON<BFMetaCore.SetLnsRecordValueAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueEntityFactorytiefHttp,Websocket,command lineposturl address:/api/transaction/trIssueEntityFactoryinterface TrIssueEntityFactory extends TransactionCommonParams {
/**Non-homogeneous asset template */
factoryId: string;
/**The number of non-homogeneous assets allowed to be issued */
entityPrealnum: string;
/**The amount of main equity frozen when non-homogeneous assets are issued, which will be unfroze when being destroyed*/
entityFrozenAssetPrealnum: string;
/**The amount of main equity used to purchase the template */
purchaseAssetPrealnum: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete issue Asset / Token template event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueEntityFactoryAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueEntityFactoryWithSignHttp,Websocketposturl address:/api/transaction/trIssueEntityFactoryWithSigninterface PackageTrIssueEntityFactoryParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
issueEntityFactoryHttp,Websocketposturl address:/api/transaction/send/issueEntityFactoryinterface SendTrIssueEntityFactoryParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete issue Asset / Token template event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueEntityFactoryAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueEntityFactoryV1tief1Http,Websocket,command lineposturl address:/api/transaction/trIssueEntityFactoryV1interface TrIssueEntityFactory extends TransactionCommonParams {
/**Non-homogeneous asset template */
factoryId: string;
/**The number of non-homogeneous assets allowed to be issued */
entityPrealnum: string;
/**The amount of main equity frozen when non-homogeneous assets are issued, which will be unfroze when being destroyed */
entityFrozenAssetPrealnum: string;
/**The amount of main equity used to purchase the template */
purchaseAssetPrealnum: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete issue Asset / Token template event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueEntityFactoryAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueEntityFactoryWithSignV1Http,Websocketposturl address:/api/transaction/trIssueEntityFactoryWithSignV1issueEntityFactoryV1Http,Websocketposturl address:/api/transaction/send/issueEntityFactoryV1interface SendTrIssueEntityFactoryParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete issue Asset / Token template event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueEntityFactoryAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueEntitytieHttp,Websocket,command lineposturl address:/api/transaction/trIssueEntityinterface TrIssueEntityFactory extends TransactionCommonParams {
/**非同质权益模板,3-15 个字符,小写字母或数字组成 */
factoryId: string;
/**不包含非同质权益模板的非同质权益,3-30 个字符,小写字母或数字组成 */
entityId: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}type TrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete issue Asset / Token template event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueEntityFactoryAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trIssueEntityWithSignHttp,Websocketposturl address:/api/transaction/trIssueEntityWithSigninterface PackageTrIssueEntityParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrIssueEntityRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
issueEntityHttp,Websocketposturl address:/api/transaction/send/issueEntityinterface SendTrIssueEntityFactoryParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrIssueEntityFactoryRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete issue Asset / Token template event */
result: BFMetaCore.TransactionJSON<BFMetaCore.IssueEntityFactoryAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trDestoryEntitytdeHttp,Websocket,command lineposturl address:/api/transaction/trDestoryEntityinterface TrDestoryEntity extends TransactionCommonParams{
/**DP/NFT to be destroyed */
entityId: string;
}trDestoryEntityWithSignHttp,Websocketposturl address:/api/transaction/trDestoryEntityWithSigninterface PackageTrDestoryEntityParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}destoryEntityHttp,Websocketposturl address:/api/transaction/send/destoryEntityinterface SendTrDestoryEntityParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trToExchangeAnytteayHttp,Websocket,command lineposturl address:/api/transaction/trToExchangeAnyinterface TrToExchangeAny extends TransactionCommonParams{
/**Asset/stake source chain network identifier for exchange, composed of uppercase letters or numbers, 5 characters, the last digit is a check digit */
toExchangeSource: string;
/**The asset/equity source chain network identifier to be exchanged, composed of uppercase letters or numbers, 5 characters, the last bit is a check digit */
beExchangeSource: string;
/**Asset/equity source chain name for exchange, composed of lowercase letters, 5-10 digits */
toExchangeChainName: string;
/**The name of the source chain of the asset/equity to be exchanged, composed of lowercase letters, 5-10 digits */
beExchangeChainName: string;
/**The type of asset used for exchange, 1 dappid, 2 digits 3 entityId 4 equity 5 */
toExchangeParentAssetType: number;
/**The type of asset being exchanged, 1 dappid, 2 digits 3 entityId 4 equity 5 */
beExchangeParentAssetType: number;
/**The stake name used for exchange, which may be entityId, dappid, bit name or stake name */
toExchangeAssetType: string;
/**The asset/equity name to be exchanged, which may be entityId, dappid, bit name or equity name */
beExchangeAssetType: string;
/**The number of rights and interests used for exchange or exchange, composed of 0-9 and does not contain decimal points */
toExchangeAssetPrealnum: string;
/**The amount of equity to be exchanged or exchanged, consisting of 0-9 and not including decimal points */
beExchangeAssetPrealnum?: string;
/**asset weight for exchange */
toExchangeAssetWeight?: string;
/**Weight of Assets Swapped */
beExchangeAssetWeight?: string;
/**Issue the signature of the entityId event, a 128-byte hexadecimal string */
transactionSignature?: string;
/**Encryption key group, if the key is filled in, the event of accepting asset exchange must carry a signature pair generated by a certain key*/
ciphertexts?: string[];
}type TrToExchangeAnyRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Arbitrary Asset Swap Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ToExchangeAnyAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trToExchangeAnyWithSignHttp,Websocketposturl address:/api/transaction/trToExchangeAnyWithSigninterface PackageTrToExchangeAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrToExchangeAnyRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
toExchangeAnyHttp,Websocketposturl address:/api/transaction/send/toExchangeAnyinterface SendTrToExchangeAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrToExchangeAnyRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Arbitrary Asset Swap Event */
result: BFMetaCore.TransactionJSON<BFMetaCore.ToExchangeAnyAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trBeExchangeAnytbeayHttp,Websocket,command lineposturl address:/api/transaction/trBeExchangeAnyinterface TrBeExchangeAny extends TransactionCommonParams{
/**Issue the signature of the entityId event, a 128-byte hexadecimal string */
issueEntityTransactionSignature?: string;
/**The signature of the to event, a 128-byte hexadecimal string */
transactionSignature: string;
/**The number of rights and interests used for exchange or exchange, composed of 0-9 and does not contain decimal points */
toExchangeAssetPrealnum: string;
/**The amount of equity to be exchanged or exchanged, consisting of 0-9 and not including decimal points */
beExchangeAssetPrealnum?: string;
/**Encryption key, if the asset exchange event fills in the encryption key, it must carry the specified key of an asset exchange event to generate a key signature pair */
ciphertext?: string;
/**The name of the asset being exchanged */
assetType?: string;
}type TrBeExchangeAnyRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Completely accept any asset exchange event*/
result: BFMetaCore.TransactionJSON<BFMetaCore.BeExchangeAnyAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trBeExchangeAnyWithSignHttp,Websocketposturl address:/api/transaction/trBeExchangeAnyWithSigninterface PackageTrBeExchangeAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}type PackageTrBeExchangeAnyRespParam = {
/**Success */
success: true;
/**Package result */
result: {
/**The buffer generated by the event body, base64 string */
buffer: string;
};
} | {
/**Fail */
success: false;
/**Error message */
message: string;
}
beExchangeAnyHttp,Websocketposturl address:/api/transaction/send/beExchangeAnyinterface SendTrBeExchangeAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}type SendTrBeExchangeAnyRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Completely accept any asset exchange event */
result: BFMetaCore.TransactionJSON<BFMetaCore.BeExchangeAnyAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}
trTransferAnyttayHttp,Websocket,command lineposturl address:/api/transaction/trTransferAnyinterface TrTransferAny extends TransactionCommonParams{
/**Issue the signature of the entityId event, a 128-byte hexadecimal string */
transactionSignature?: string;
/**The amount of equity transferred, consisting of 0-9 without decimal points, must be greater than 0 */
amount?: string;
/**The type of equity transferred, composed of uppercase letters, 3-8 characters */
assetType?: string;
/**The type of asset to be transferred, 1 dappid, 2 digits 3 entityId 4 equity */
parentAssetType?: import("./").PARENT_ASSET_TYPE;
/**The name of the chain to which the transferred rights and interests belong, composed of lowercase letters, 5-10 digits */
sourceChainName?: string;
/**The network identifier of the chain to which the transferred equity belongs, composed of uppercase letters or numbers, 5 characters, and the last digit is a check digit */
sourceChainMagic?: string;
/**The receiving account address of the event, base58 encoded hexadecimal string */
recipientId: string;
}trTransferAnyWithSignHttp,Websocketposturl address:/api/transaction/trTransferAnyWithSigninterface PackageTrTransferAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}transferAnyHttp,Websocketposturl address:/api/transaction/send/transferAnyinterface SendTrTransferAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trGiftAnytgayHttp,Websocket,command lineposturl address:/api/transaction/trGiftAnyinterface TrGiftAny extends TransactionCommonParams{
/**The signature of the event that issued entityId, a 128-byte hexadecimal string */
transactionSignature?: string;
/**The chain network identifier of the gifted rights and interests, composed of uppercase letters or numbers, 5 characters, the last one is a check digit */
sourceChainMagic?: string;
/**The name of the chain to which the gifted rights and interests belong, composed of lowercase letters, 5-10 characters*/
sourceChainName?: string;
/**The type of asset to be transferred, 1 dappid, 2 digits 3 entityId 4 equity */
parentAssetType?: import("./").PARENT_ASSET_TYPE;
/**The gift type, composed of uppercase letters, 3-8 characters */
assetType?: string;
/**The number of rights and interests given away, consisting of 0-9 and excluding decimal points, must be greater than 0 */
amount?: string;
/**The number of times that can be received, consisting of 0-9 and not including the decimal point, must be greater than 0 */
totalGrabableTimes?: number;
/**The block interval from the initiation of the equity donation event to the beginning of being signed, consisting of 0-9 and excluding decimal points, optional, must be less than or equal to the validity period of the event */
numberOfBeginUnfrozenBlocks?: number;
/**Receiving rules, can only be 0, 1 or 2, 0 means average distribution, 1 means random distribution according to the address of any account, 2 means random distribution according to the account address in the recipient list */
giftDistributionRule?: number;
/**Encryption key group, if the key is filled in, the event of receiving equity exchange must carry a signature pair generated by a certain key */
ciphertexts?: string[];
/**Tax information */
taxInformation?: {
/**Tax collector */
taxCollector: string;
/**Payment amount */
taxAssetPrealnum: string;
};
}trGiftAnyWithSignHttp,Websocketposturl address:/api/transaction/trGiftAnyWithSigninterface PackageTrGiftAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}giftAnyHttp,Websocketposturl address:/api/transaction/send/giftAnyinterface SendTrGiftAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trGrabAnytgrayHttp,Websocket,command lineposturl address:/api/transaction/trGrabAnyinterface TrGrabAny extends TransactionCommonParams{
/**The number of gift benefits received, consisting of 0-9 and excluding decimal points */
amount?: string;
/**The signature of the block where the gift event is located, a 128-byte hexadecimal string */
blockSignature: string;
/**The signature of the gift event, a 128-byte hexadecimal string */
transactionSignature: string;
/**Encryption key, if the encryption key is filled in the equity donation event, it must carry a specified key of an equity exchange event to generate a key signature pair */
ciphertext?: string;
}trGrabAnyWithSignHttp,Websocketposturl address:/api/transaction/trGrabAnyWithSigninterface PackageTrGrabAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}grabAnyHttp,Websocketposturl address:/api/transaction/send/grabAnyinterface SendTrGrabAnyParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trIssueEntityMultiV1tiem1Http,Websocket,command lineposturl address:/api/transaction/trIssueEntityMultiV1interface TrIssueEntityMultiV1 extends TransactionCommonParams{
/**DP/NFT template, 3-15 characters, composed of lowercase letters or numbers */
factoryId: string;
entityStructList: {
/**DP/NFT that does not contain NFT templates, 3-30 characters, composed of lowercase letters or numbers */
entityId: string;
/**Royalties that need to be paid for the circulation of DP/NFT */
taxAssetPrealnum?: string;
}[];
}trIssueEntityMultiWithSignV1Http,Websocketposturl address:/api/transaction/trIssueEntityMultiWithSignV1interface PackageTrIssueEntityMultiV1Param{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}issueEntityMultiV1Http,Websocketposturl address:/api/transaction/send/issueEntityMultiV1interface SendTrIssueEntityMultiV1Param{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trToExchangeAnyMultitteaymHttp,Websocket,command lineposturl address:/api/transaction/trToExchangeAnyMultiinterface TrToExchangeAnyMulti extends TransactionCommonParams{
/**Assets for exchange */
toExchangeAssets: {
/**Asset source chain network identifier for exchange, composed of uppercase letters or numbers, 5 characters, the last bit is a check digit */
toExchangeSource?: string;
/**Asset source chain name for exchange, composed of lowercase letters, 5-10 digits */
toExchangeChainName?: string;
/**Asset name for exchange */
toExchangeAssetType: string;
/**The number of assets used for exchange, consisting of 0-9 and not including decimal points */
toExchangeAssetPrealnum: string;
/**Exchange ratio, required for Fungible Token exchange */
assetExchangeWeightRatio?: {
/**Token Weight for Swap */
toExchangeAssetWeight: string;
/**Weight of Tokens Swapped */
beExchangeAssetWeight: string;
};
/**Tax information */
taxInformation?: {
/**Tax collector */
taxCollector: string;
/**Payment amount */
taxAssetPrealnum: string;
};
}[];
/**Assets being exchanged */
beExchangeAsset: {
/**The asset source chain network identifier to be exchanged, composed of uppercase letters or numbers, 5 characters, the last one is a check digit */
beExchangeSource?: string;
/**The asset source chain name to be exchanged, composed of lowercase letters, 5-10 digits*/
beExchangeChainName?: string;
/**The name of the asset being exchanged */
beExchangeAssetType: string;
/**The number of assets to be exchanged, consisting of 0-9 without a decimal point, required for the exchange of non-homogeneous assets */
beExchangeAssetPrealnum?: string;
/**Tax information */
taxInformation?: {
/**Tax collector */
taxCollector: string;
/**Payment amount */
taxAssetPrealnum: string;
};
};
/**Encryption key group, if the key is filled in, the event of receiving equity exchange must carry a signature pair generated by a certain key */
ciphertexts?: string[];
}trToExchangeAnyMultiWithSignHttp,Websocketposturl address:/api/transaction/trToExchangeAnyMultiWithSigninterface PackageTrToExchangeAnyMultiParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}toExchangeAnyMultiHttp,Websocketposturl address:/api/transaction/send/toExchangeAnyMultiinterface SendTrToExchangeAnyMultiParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trBeExchangeAnyMultitbeaymHttp,Websocket,command lineposturl address:/api/transaction/trBeExchangeAnyMultiinterface TrBeExchangeAnyMulti extends TransactionCommonParams{
/**The signature of a batch of arbitrary asset exchange events, a 128-byte hexadecimal string */
transactionSignature: string;
/**Assets for exchange*/
toExchangeAssets: {
/**Asset source chain network identifier for exchange, composed of uppercase letters or numbers, 5 characters, the last bit is a check digit */
toExchangeSource?: string;
/**Asset source chain name for exchange, composed of lowercase letters, 5-10 digits */
toExchangeChainName?: string;
/**Asset name for exchange */
toExchangeAssetType: string;
/**The number of assets used for exchange, consisting of 0-9 and not including decimal points */
toExchangeAssetPrealnum: string;
/**Exchange ratio, required for Fungible Token exchange */
assetExchangeWeightRatio?: {
/**Token Weight for Swap */
toExchangeAssetWeight: string;
/**Weight of Tokens Swapped */
beExchangeAssetWeight: string;
};
/**Tax information */
taxInformation?: {
/**Tax collector */
taxCollector: string;
/**Payment amount */
taxAssetPrealnum: string;
};
}[];
/**Assets being exchanged */
beExchangeAsset: {
/**The asset source chain network identifier to be exchanged, composed of uppercase letters or numbers, 5 characters, the last one is a check digit */
beExchangeSource?: string;
/**The asset source chain name to be exchanged, composed of lowercase letters, 5-10 digits */
beExchangeChainName?: string;
/**The name of the asset being exchanged */
beExchangeAssetType: string;
/**The number of assets to be exchanged, consisting of 0-9 without a decimal point, required for the exchange of non-homogeneous assets */
beExchangeAssetPrealnum?: string;
/**Tax information */
taxInformation?: {
/**Tax collector */
taxCollector: string;
/**Payment amount */
taxAssetPrealnum: string;
};
};
/**Encryption key, if the encryption key is filled in the equity donation event, it must carry a specified key of an equity exchange event to generate a key signature pair */
ciphertext?: string;
}trBeExchangeAnyMultiWithSignHttp,Websocketposturl address:/api/transaction/trBeExchangeAnyMultiWithSigninterface PackageTrBeExchangeAnyMultiParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
}beExchangeAnyMultiHttp,Websocketposturl address:/api/transaction/send/beExchangeAnyMultiinterface SendTrBeExchangeAnyMultiParam{
/**The buffer generated by the event body, base64 string */
buffer: string;
/**Signature of the event */
signature: string;
/**Security signature of the event */
signSignature?: string;
}trRegisterChaintrcHttp,Websocket,command lineposturl address:/api/transaction/trRegisterChaintype TrRegisterChain = TrCommonParamtype TrRegisterChainRespParam = {
/**Success */
success: true;
/**Minimum Fee */
minFee: number;
/**Complete Registration Chain Events */
result: BFMetaCore.TransactionJSON<BFMetaCore.RegisterChainAssetJSON>;
} | {
/**Fail */
success: false;
/**Error message */
message: string;
/**Minimum Fee */
minFee: number;
/**Error code */
code?: string;
}