TON SDK Documentation - v15.3.1duck0.0.3
Preparing search index...
ContractProvider
Interface ContractProvider
interface
ContractProvider
{
external
(
message
:
Cell
)
:
Promise
<
void
>
;
get
(
name
:
string
|
number
,
args
:
TupleItem
[]
,
)
:
Promise
<
ContractGetMethodResult
>
;
getState
()
:
Promise
<
ContractState
>
;
getTransactions
(
address
:
Address
,
lt
:
bigint
,
hash
:
Buffer
,
limit
?:
number
,
)
:
Promise
<
Transaction
[]
>
;
internal
(
via
:
Sender
,
args
:
{
body
?:
Maybe
<
string
|
Cell
>
;
bounce
?:
Maybe
<
boolean
>
;
extracurrency
?:
ExtraCurrency
;
sendMode
?:
SendMode
;
value
:
string
|
bigint
;
}
,
)
:
Promise
<
void
>
;
open
<
T
extends
Contract
>
(
contract
:
T
)
:
OpenedContract
<
T
>
;
}
Index
Methods
external
get
get
State
get
Transactions
internal
open
Methods
external
external
(
message
:
Cell
)
:
Promise
<
void
>
Parameters
message
:
Cell
Returns
Promise
<
void
>
get
get
(
name
:
string
|
number
,
args
:
TupleItem
[]
)
:
Promise
<
ContractGetMethodResult
>
Parameters
name
:
string
|
number
args
:
TupleItem
[]
Returns
Promise
<
ContractGetMethodResult
>
get
State
getState
()
:
Promise
<
ContractState
>
Returns
Promise
<
ContractState
>
get
Transactions
getTransactions
(
address
:
Address
,
lt
:
bigint
,
hash
:
Buffer
,
limit
?:
number
,
)
:
Promise
<
Transaction
[]
>
Parameters
address
:
Address
lt
:
bigint
hash
:
Buffer
Optional
limit
:
number
Returns
Promise
<
Transaction
[]
>
internal
internal
(
via
:
Sender
,
args
:
{
body
?:
Maybe
<
string
|
Cell
>
;
bounce
?:
Maybe
<
boolean
>
;
extracurrency
?:
ExtraCurrency
;
sendMode
?:
SendMode
;
value
:
string
|
bigint
;
}
,
)
:
Promise
<
void
>
Parameters
via
:
Sender
args
:
{
body
?:
Maybe
<
string
|
Cell
>
;
bounce
?:
Maybe
<
boolean
>
;
extracurrency
?:
ExtraCurrency
;
sendMode
?:
SendMode
;
value
:
string
|
bigint
;
}
Returns
Promise
<
void
>
open
open
<
T
extends
Contract
>
(
contract
:
T
)
:
OpenedContract
<
T
>
Type Parameters
T
extends
Contract
Parameters
contract
:
T
Returns
OpenedContract
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
external
get
get
State
get
Transactions
internal
open
TON SDK Documentation - v15.3.1duck0.0.3
Loading...