Methods
buildChangeTrustLineXdrTx
- buildChangeTrustLineXdrTx(params: TrustLineParams): Promise<string>
-
Returns Promise<string>
confirmTx
- confirmTx(hash: string, secondsToWait?: number): Promise<GetTransactionResponse>
-
Parameters
-
hash: string
-
Optional
secondsToWait: number
Returns Promise<GetTransactionResponse>
getBalanceLine
- getBalanceLine(sender: string, tokenAddress: string): Promise<undefined | BalanceLineAsset<"credit_alphanum4" | "credit_alphanum12">>
-
Parameters
-
sender: string
-
tokenAddress: string
Returns Promise<undefined | BalanceLineAsset<"credit_alphanum4" | "credit_alphanum12">>
sendTransactionSoroban
- sendTransactionSoroban(xdrTx: string): Promise<SendTransactionResponse>
-
Returns Promise<SendTransactionResponse>
simulateAndCheckRestoreTxRequiredSoroban
- simulateAndCheckRestoreTxRequiredSoroban(xdrTx: string, sourceAccount: string): Promise<undefined | string>
-
Parameters
-
xdrTx: string
-
sourceAccount: string
Returns Promise<undefined | string>
submitTransactionStellar
- submitTransactionStellar(xdrTx: string): Promise<SubmitTransactionResponse>
-
Returns Promise<SubmitTransactionResponse>
Contains usefully Soroban methods