Search
Preparing search index...
The search index is not available
@provenanceio/wallet-lib
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@provenanceio/wallet-lib
BroadcastTxRequest
Class BroadcastTxRequest
Hierarchy
Message
BroadcastTxRequest
Index
Constructors
constructor
Properties
extensions
extensions
Binary
Methods
clone
clone
Message
get
Extension
get
JsPb
Message
Id
get
Mode
get
TxBytes
get
TxBytes_
as
B64
get
TxBytes_
as
U8
read
Binary
Extension
serialize
Binary
serialize
Binary
Extensions
set
Extension
set
Mode
set
TxBytes
to
Array
to
Object
to
String
add
ToRepeated
Field
add
ToRepeated
Wrapper
Field
bytes
AsB64
bytes
AsU8
bytes
List
AsB64
bytes
List
AsU8
clone
clone
Message
compare
Extensions
compare
Fields
compute
Oneof
Case
copy
Into
deserialize
Binary
deserialize
Binary
From
Reader
difference
equals
get
Field
get
Field
With
Default
get
Map
Field
get
Optional
Floating
Point
Field
get
Repeated
Floating
Point
Field
get
Repeated
Wrapper
Field
get
Wrapper
Field
initialize
register
Message
Type
serialize
Binary
ToWriter
set
Field
set
Oneof
Field
set
Oneof
Wrapper
Field
set
Repeated
Wrapper
Field
set
Wrapper
Field
to
Map
to
Object
to
Object
Extension
to
Object
List
Constructors
constructor
new
Broadcast
TxRequest
(
)
:
BroadcastTxRequest
Returns
BroadcastTxRequest
Properties
Static
extensions
extensions
:
{}
Type declaration
[
key:
number
]:
jspb.ExtensionFieldInfo
<
jspb.Message
>
Static
extensions
Binary
extensions
Binary
:
{}
Type declaration
[
key:
number
]:
jspb.ExtensionFieldBinaryInfo
<
jspb.Message
>
Methods
clone
clone
(
)
:
BroadcastTxRequest
Returns
BroadcastTxRequest
clone
Message
clone
Message
(
)
:
BroadcastTxRequest
Returns
BroadcastTxRequest
get
Extension
get
Extension<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
:
T
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
Returns
T
get
JsPb
Message
Id
get
JsPb
Message
Id
(
)
:
undefined
|
string
Returns
undefined
|
string
get
Mode
get
Mode
(
)
:
BroadcastMode
Returns
BroadcastMode
get
TxBytes
get
TxBytes
(
)
:
string
|
Uint8Array
Returns
string
|
Uint8Array
get
TxBytes_
as
B64
get
TxBytes_
as
B64
(
)
:
string
Returns
string
get
TxBytes_
as
U8
get
TxBytes_
as
U8
(
)
:
Uint8Array
Returns
Uint8Array
read
Binary
Extension
read
Binary
Extension
(
proto
:
Message
, reader
:
BinaryReader
, extensions
:
{}
, setExtensionFn
:
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, val
:
T
)
=>
void
)
:
void
Parameters
proto:
Message
reader:
BinaryReader
extensions:
{}
[
key:
number
]:
ExtensionFieldBinaryInfo
<
Message
>
setExtensionFn: <T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, val
:
T
)
=>
void
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, val
:
T
)
:
void
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
val:
T
Returns
void
Returns
void
serialize
Binary
serialize
Binary
(
)
:
Uint8Array
Returns
Uint8Array
serialize
Binary
Extensions
serialize
Binary
Extensions
(
proto
:
Message
, writer
:
BinaryWriter
, extensions
:
{}
, getExtensionFn
:
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
=>
T
)
:
void
Parameters
proto:
Message
writer:
BinaryWriter
extensions:
{}
[
key:
number
]:
ExtensionFieldBinaryInfo
<
Message
>
getExtensionFn: <T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
=>
T
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
:
T
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
Returns
T
Returns
void
set
Extension
set
Extension<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, value
:
T
)
:
void
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
value:
T
Returns
void
set
Mode
set
Mode
(
value
:
BroadcastMode
)
:
BroadcastTxRequest
Parameters
value:
BroadcastMode
Returns
BroadcastTxRequest
set
TxBytes
set
TxBytes
(
value
:
string
|
Uint8Array
)
:
BroadcastTxRequest
Parameters
value:
string
|
Uint8Array
Returns
BroadcastTxRequest
to
Array
to
Array
(
)
:
MessageArray
Returns
MessageArray
to
Object
to
Object
(
includeInstance
?:
boolean
)
:
AsObject
Parameters
Optional
includeInstance:
boolean
Returns
AsObject
to
String
to
String
(
)
:
string
Returns
string
Static
add
ToRepeated
Field
add
ToRepeated
Field
(
msg
:
Message
, fieldNumber
:
number
, value
:
any
, index
?:
number
)
:
void
Parameters
msg:
Message
fieldNumber:
number
value:
any
Optional
index:
number
Returns
void
Static
add
ToRepeated
Wrapper
Field
add
ToRepeated
Wrapper
Field<T>
(
msg
:
Message
, fieldNumber
:
number
, value
:
undefined
|
T
, ctor
:
new
(
)
=>
T
, index
?:
number
)
:
T
Type parameters
T
:
Message
<
T
>
Parameters
msg:
Message
fieldNumber:
number
value:
undefined
|
T
ctor:
new
(
)
=>
T
new
(
)
:
T
Returns
T
Optional
index:
number
Returns
T
Static
bytes
AsB64
bytes
AsB64
(
bytes
:
Uint8Array
)
:
string
Parameters
bytes:
Uint8Array
Returns
string
Static
bytes
AsU8
bytes
AsU8
(
str
:
string
)
:
Uint8Array
Parameters
str:
string
Returns
Uint8Array
Static
bytes
List
AsB64
bytes
List
AsB64
(
bytesList
:
Uint8Array
[]
)
:
string
[]
Parameters
bytesList:
Uint8Array
[]
Returns
string
[]
Static
bytes
List
AsU8
bytes
List
AsU8
(
strList
:
string
[]
)
:
Uint8Array
[]
Parameters
strList:
string
[]
Returns
Uint8Array
[]
Static
clone
clone<T>
(
msg
:
T
)
:
T
Type parameters
T
:
Message
<
T
>
Parameters
msg:
T
Returns
T
Static
clone
Message
clone
Message<T>
(
msg
:
T
)
:
T
Type parameters
T
:
Message
<
T
>
Parameters
msg:
T
Returns
T
Static
compare
Extensions
compare
Extensions
(
extension1
:
{}
, extension2
:
{}
)
:
boolean
Parameters
extension1:
{}
extension2:
{}
Returns
boolean
Static
compare
Fields
compare
Fields
(
field1
:
any
, field2
:
any
)
:
boolean
Parameters
field1:
any
field2:
any
Returns
boolean
Static
compute
Oneof
Case
compute
Oneof
Case
(
msg
:
Message
, oneof
:
number
[]
)
:
number
Parameters
msg:
Message
oneof:
number
[]
Returns
number
Static
copy
Into
copy
Into
(
fromMessage
:
Message
, toMessage
:
Message
)
:
void
Parameters
fromMessage:
Message
toMessage:
Message
Returns
void
Static
deserialize
Binary
deserialize
Binary
(
bytes
:
Uint8Array
)
:
BroadcastTxRequest
Parameters
bytes:
Uint8Array
Returns
BroadcastTxRequest
Static
deserialize
Binary
From
Reader
deserialize
Binary
From
Reader
(
message
:
BroadcastTxRequest
, reader
:
BinaryReader
)
:
BroadcastTxRequest
Parameters
message:
BroadcastTxRequest
reader:
BinaryReader
Returns
BroadcastTxRequest
Static
difference
difference<T>
(
m1
:
T
, m2
:
T
)
:
T
Type parameters
T
:
Message
<
T
>
Parameters
m1:
T
m2:
T
Returns
T
Static
equals
equals
(
m1
:
Message
, m2
:
Message
)
:
boolean
Parameters
m1:
Message
m2:
Message
Returns
boolean
Static
get
Field
get
Field
(
msg
:
Message
, fieldNumber
:
number
)
:
null
|
FieldValue
Parameters
msg:
Message
fieldNumber:
number
Returns
null
|
FieldValue
Static
get
Field
With
Default
get
Field
With
Default<T>
(
msg
:
Message
, fieldNumber
:
number
, defaultValue
:
T
)
:
T
Type parameters
T
Parameters
msg:
Message
fieldNumber:
number
defaultValue:
T
Returns
T
Static
get
Map
Field
get
Map
Field
(
msg
:
Message
, fieldNumber
:
number
, noLazyCreate
:
boolean
, valueCtor
:
typeof
Message
)
:
Map
<
any
,
any
>
Parameters
msg:
Message
fieldNumber:
number
noLazyCreate:
boolean
valueCtor:
typeof
Message
Returns
Map
<
any
,
any
>
Static
get
Optional
Floating
Point
Field
get
Optional
Floating
Point
Field
(
msg
:
Message
, fieldNumber
:
number
)
:
undefined
|
number
Parameters
msg:
Message
fieldNumber:
number
Returns
undefined
|
number
Static
get
Repeated
Floating
Point
Field
get
Repeated
Floating
Point
Field
(
msg
:
Message
, fieldNumber
:
number
)
:
number
[]
Parameters
msg:
Message
fieldNumber:
number
Returns
number
[]
Static
get
Repeated
Wrapper
Field
get
Repeated
Wrapper
Field<T>
(
msg
:
Message
, ctor
:
new
(
)
=>
T
, fieldNumber
:
number
)
:
T
[]
Type parameters
T
:
Message
<
T
>
Parameters
msg:
Message
ctor:
new
(
)
=>
T
new
(
)
:
T
Returns
T
fieldNumber:
number
Returns
T
[]
Static
get
Wrapper
Field
get
Wrapper
Field<T>
(
msg
:
Message
, ctor
:
new
(
)
=>
T
, fieldNumber
:
number
, required
?:
number
)
:
T
Type parameters
T
:
Message
<
T
>
Parameters
msg:
Message
ctor:
new
(
)
=>
T
new
(
)
:
T
Returns
T
fieldNumber:
number
Optional
required:
number
Returns
T
Static
initialize
initialize
(
msg
:
Message
, data
:
MessageArray
, messageId
:
string
|
number
, suggestedPivot
:
number
, repeatedFields
?:
number
[]
, oneofFields
?:
null
|
number
[]
[]
)
:
void
Parameters
msg:
Message
data:
MessageArray
messageId:
string
|
number
suggestedPivot:
number
Optional
repeatedFields:
number
[]
Optional
oneofFields:
null
|
number
[]
[]
Returns
void
Static
register
Message
Type
register
Message
Type
(
id
:
number
, constructor
:
typeof
Message
)
:
void
Parameters
id:
number
constructor:
typeof
Message
Returns
void
Static
serialize
Binary
ToWriter
serialize
Binary
ToWriter
(
message
:
BroadcastTxRequest
, writer
:
BinaryWriter
)
:
void
Parameters
message:
BroadcastTxRequest
writer:
BinaryWriter
Returns
void
Static
set
Field
set
Field
(
msg
:
Message
, fieldNumber
:
number
, value
:
FieldValue
)
:
void
Parameters
msg:
Message
fieldNumber:
number
value:
FieldValue
Returns
void
Static
set
Oneof
Field
set
Oneof
Field
(
msg
:
Message
, fieldNumber
:
number
, oneof
:
number
[]
, value
:
FieldValue
)
:
void
Parameters
msg:
Message
fieldNumber:
number
oneof:
number
[]
value:
FieldValue
Returns
void
Static
set
Oneof
Wrapper
Field
set
Oneof
Wrapper
Field
(
msg
:
Message
, fieldNumber
:
number
, oneof
:
number
[]
, value
:
any
)
:
void
Parameters
msg:
Message
fieldNumber:
number
oneof:
number
[]
value:
any
Returns
void
Static
set
Repeated
Wrapper
Field
set
Repeated
Wrapper
Field<T>
(
msg
:
Message
, fieldNumber
:
number
, value
?:
T
[]
)
:
void
Type parameters
T
:
Message
<
T
>
Parameters
msg:
Message
fieldNumber:
number
Optional
value:
T
[]
Returns
void
Static
set
Wrapper
Field
set
Wrapper
Field<T>
(
msg
:
Message
, fieldNumber
:
number
, value
?:
Map
<
any
,
any
>
|
T
)
:
void
Type parameters
T
:
Message
<
T
>
Parameters
msg:
Message
fieldNumber:
number
Optional
value:
Map
<
any
,
any
>
|
T
Returns
void
Static
to
Map
to
Map
(
field
:
any
[]
, mapKeyGetterFn
:
(
field
:
any
)
=>
string
, toObjectFn
?:
StaticToObject
, includeInstance
?:
boolean
)
:
void
Parameters
field:
any
[]
mapKeyGetterFn:
(
field
:
any
)
=>
string
(
field
:
any
)
:
string
Parameters
field:
any
Returns
string
Optional
toObjectFn:
StaticToObject
Optional
includeInstance:
boolean
Returns
void
Static
to
Object
to
Object
(
includeInstance
:
boolean
, msg
:
BroadcastTxRequest
)
:
AsObject
Parameters
includeInstance:
boolean
msg:
BroadcastTxRequest
Returns
AsObject
Static
to
Object
Extension
to
Object
Extension
(
msg
:
Message
, obj
:
{}
, extensions
:
{}
, getExtensionFn
:
(
fieldInfo
:
ExtensionFieldInfo
<
Message
>
)
=>
Message
, includeInstance
?:
boolean
)
:
void
Parameters
msg:
Message
obj:
{}
extensions:
{}
[
key:
number
]:
ExtensionFieldInfo
<
Message
>
getExtensionFn:
(
fieldInfo
:
ExtensionFieldInfo
<
Message
>
)
=>
Message
(
fieldInfo
:
ExtensionFieldInfo
<
Message
>
)
:
Message
Parameters
fieldInfo:
ExtensionFieldInfo
<
Message
>
Returns
Message
Optional
includeInstance:
boolean
Returns
void
Static
to
Object
List
to
Object
List<T>
(
field
:
T
[]
, toObjectFn
:
(
includeInstance
:
boolean
, data
:
T
)
=>
{}
, includeInstance
?:
boolean
)
:
{}
[]
Type parameters
T
:
Message
<
T
>
Parameters
field:
T
[]
toObjectFn:
(
includeInstance
:
boolean
, data
:
T
)
=>
{}
(
includeInstance
:
boolean
, data
:
T
)
:
{}
Parameters
includeInstance:
boolean
data:
T
Returns
{}
Optional
includeInstance:
boolean
Returns
{}
[]
Exports
Broadcast
TxRequest
constructor
extensions
extensions
Binary
clone
clone
Message
get
Extension
get
JsPb
Message
Id
get
Mode
get
TxBytes
get
TxBytes_
as
B64
get
TxBytes_
as
U8
read
Binary
Extension
serialize
Binary
serialize
Binary
Extensions
set
Extension
set
Mode
set
TxBytes
to
Array
to
Object
to
String
add
ToRepeated
Field
add
ToRepeated
Wrapper
Field
bytes
AsB64
bytes
AsU8
bytes
List
AsB64
bytes
List
AsU8
clone
clone
Message
compare
Extensions
compare
Fields
compute
Oneof
Case
copy
Into
deserialize
Binary
deserialize
Binary
From
Reader
difference
equals
get
Field
get
Field
With
Default
get
Map
Field
get
Optional
Floating
Point
Field
get
Repeated
Floating
Point
Field
get
Repeated
Wrapper
Field
get
Wrapper
Field
initialize
register
Message
Type
serialize
Binary
ToWriter
set
Field
set
Oneof
Field
set
Oneof
Wrapper
Field
set
Repeated
Wrapper
Field
set
Wrapper
Field
to
Map
to
Object
to
Object
Extension
to
Object
List
Generated using
TypeDoc